15 #ifndef __IPSDKBASEIMAGETOOLS_KERNELTEMPLATERESOLUTION_H__ 16 #define __IPSDKBASEIMAGETOOLS_KERNELTEMPLATERESOLUTION_H__ 36 void replaceAllOccurrences(
const std::string& templateStr,
const std::string& newStr, std::string& srcStr);
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