|
|
||||||
|
cfl_utils.h
Go to the documentation of this file.
96 extern FAUDES_API std::string CollapsString(const std::string& rString, unsigned int len= FD_MAXCONTAINERNAME);
126 extern FAUDES_API std::string StringSubstitute(const std::string& rString,const std::string& rFrom,const std::string& rTo);
324 virtual void Write(const std::string& message,long int cntnow=0, long int cntdone=0, int verb=0);
343 virtual void DoWrite(const std::string& message,long int cntnow=0, long int cntdone=0, int verb=0);
421 extern FAUDES_API void TestProtocol(const std::string& rMessage, const Type& rData, bool core=false);
Compiletime options. #define FD_MAXCONTAINERNAME Max length of automatic container names (set to -1 for unlimited) Definition: cfl_definitions.h:58 Class Exception. Platform dependant wrappers. static std::map< std::string, long int > * mspCount Definition: cfl_utils.h:375 static std::map< std::string, long int > * mspMax Definition: cfl_utils.h:374 Base class of all libFAUDES objects that participate in the run-time interface. Definition: cfl_types.h:239 void ProcessDot(const std::string &rDotFile, const std::string &rOutFile, const std::string &rOutFormat, const std::string &rDotExec) Convenience function: process dot file to graphics output. Definition: cfl_utils.cpp:148 std::string ExtractDirectory(const std::string &rFullPath) Extract directory from (full) path; i.e., remove the last separator and anything thereafer. Definition: cfl_utils.cpp:256 std::string PrependPath(const std::string &rLeft, const std::string &rRight) Prepend one path before another. Definition: cfl_utils.cpp:303 std::string ExtractBasename(const std::string &rFullPath) Extract file basename from full path. Definition: cfl_utils.cpp:274 bool FileCopy(const std::string &rFromFile, const std::string &rToFile) Copy file. Definition: cfl_utils.cpp:397 std::string ExpandString(const std::string &rString, unsigned int len) Fill string with spaces up to a given length if length of the string is smaller than given length par... Definition: cfl_utils.cpp:80 std::string ExtractFilename(const std::string &rFullPath) Extract file name from full path. Definition: cfl_utils.cpp:265 std::string CollapsString(const std::string &rString, unsigned int len) Limit length of string, return head and tail of string. Definition: cfl_utils.cpp:91 std::string ExtractSuffix(const std::string &rFullPath) Extract extension from full path, i.e. Definition: cfl_utils.cpp:288 std::set< std::string > ReadDirectory(const std::string &rDirectory) Read the contents of the specified directors. Definition: cfl_utils.cpp:348 std::string StringSubstitute(const std::string &rString, const std::string &rFrom, const std::string &rTo) Substitute globally in string. Definition: cfl_utils.cpp:111 bool DirectoryExists(const std::string &rDirectory) Test existence of directory. Definition: cfl_utils.cpp:332 long int Int Type definition for integer type (let target system decide, minimum 32bit) Definition: cfl_definitions.h:47 libFAUDES 2.32f --- 2024.12.22 --- c++ api documentaion by doxygen |