IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
KernelTemplateResolution.h
Go to the documentation of this file.
1 // KernelTemplateResolution.h:
3 // ----------------
4 //
14 
15 #ifndef __IPSDKBASEIMAGETOOLS_KERNELTEMPLATERESOLUTION_H__
16 #define __IPSDKBASEIMAGETOOLS_KERNELTEMPLATERESOLUTION_H__
17 
20 #include <string>
21 
22 namespace ipsdk {
23 namespace image {
24 namespace tools {
25 
29 std::string generateConvertType(const ipsdk::image::eImageBufferType& bufType);
30 
36 void replaceAllOccurrences(const std::string& templateStr, const std::string& newStr, std::string& srcStr);
37 
40 
41 } // end of namespace tools
42 } // end of namespace image
43 } // end of namespace ipsdk
44 
45 #endif // __IPSDKBASEIMAGETOOLS_KERNELTEMPLATERESOLUTION_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Definition of import/export macro for library.
IPSDKBASEIMAGETOOLS_API std::string generateConvertType(const ipsdk::image::eImageBufferType &bufType)
According to an image buffer type, the functions returns a string of the standard type (e...
IPSDKBASEIMAGETOOLS_API void replaceAllOccurrences(const std::string &templateStr, const std::string &newStr, std::string &srcStr)
Replaces all occurrences of a template templateStr in srcStr by another string newStr. srcStr is overwritten. Example: srcStr = "T1 x;", templateStr = "T1", newStr = "int" -> srcStr becomes "int x;".
#define IPSDKBASEIMAGETOOLS_API
Import/Export macro for library IPSDKBaseImageTools.
Definition: IPSDKBaseImageToolsExports.h:25
Predefined type for image management.
eImageBufferType
types associated to image buffers
Definition: ImageTypes.h:78