|
C++ mpi module for stochmagnet_main Package
|
this class describes the file system IO by default write on standart output More...
#include <CORE_IO.h>


Public Member Functions | |
| CORE_IO () | |
| build a CORE_IO | |
| virtual | ~CORE_IO (void) |
| destroy a CORE_IO | |
| virtual tMemSize | getMemorySize () const override |
| return the memory size of the class More... | |
Public Member Functions inherited from CORE_Object | |
| template<class T > | |
| std::shared_ptr< T > | getSharedPointer () |
| return the shared pointer for this More... | |
| template<class T > | |
| std::shared_ptr< const T > | getConstSharedPointer () const |
| return a const shared pointer for this More... | |
| virtual tMemSize | getContentsMemorySize () const |
| return nthe memory size of the included associations More... | |
| template<class T > | |
| tBoolean | isInstanceOf () const |
| test if the clas T is an instance of this class More... | |
| tString | getClassName () const |
| return the name of the class More... | |
| tString | getPointerString () const |
| retrun the pointer of the class as a string More... | |
| tString | getIdentityString () const |
| retrun the string identification of the class More... | |
| virtual tString | toString () const |
| return the string representation of the object node More... | |
Static Public Member Functions | |
| static tBoolean | IsFile (const tString &f) |
| return true if the file is a regular file More... | |
| static tBoolean | IsPath (const tString &p) |
| return true if the path designed by p is a path More... | |
| static tBoolean | Exists (const tString &f) |
| return true if the file or the path exists More... | |
| static tBoolean | CreatePath (const tString &path) |
| create a path More... | |
| static tBoolean | Rename (const tString &file, const tString &newFile) |
| static tBoolean | RemovePath (const tString &path, const tBoolean &force) |
| remove a path More... | |
| static tBoolean | RemovePath (const tString &path) |
| remove an empty path More... | |
| static tBoolean | RemoveFile (const tString &file) |
| remove a file More... | |
| static void | RemoveAllFiles (const tString &path) |
| remove all files within a path More... | |
| static void | RemoveAllFiles (const tString &path, const tString &exts) |
| remove all files with extension within the path More... | |
| static tString | GetSystemPath (const tString &posix_path) |
| get the system path corresponding to posix path More... | |
| static void | GetPaths (const tString &path, std::vector< tString > &paths) |
| get all the paths within the directory More... | |
| static tString | GetPathName (const tString &aPath) |
| get all the paths within the directory More... | |
| static void | GetFiles (const tString &path, std::vector< tString > &files) |
| get all the files within the directory More... | |
| static void | GetFiles (const tString &path, const tString &exts, std::vector< tString > &files) |
| get all the files within the directory with extension of the form .ext More... | |
| static void | GetFiles (const tString &path, const tString &prefix, const tString &exts, std::vector< tString > &files) |
| get all the files within the directory with extension of the form .ext More... | |
| static tBoolean | CopyFiles (const tString &sourcePath, const tString &exts, const tString &destPath, const tBoolean &overwrite) |
| copy all the files with extension within the directory to destination path More... | |
| static tBoolean | CopyFiles (const tString &sourcePath, const tString &destPath, const tBoolean &overwrite) |
| copy all the files within the directory to destination path More... | |
| static tBoolean | CopyFile (const tString &source, const tString &dest, const tBoolean &overwrite) |
| copy file More... | |
| static tBoolean | CopyFile (const tString &source, const tString &dest) |
| copy file More... | |
| static tBoolean | CopyPath (const tString &sourcePath, const tString &destPath) |
| copy path More... | |
| static void | GetContent (const tString &path, std::vector< tString > &content) |
| get all the content files or paths within the directory More... | |
| static tString | GetCurrentPath () |
| get the current path More... | |
| static tString | GetAbsolutePath (const tString &path) |
| get the absolute path of the path More... | |
| static tString | GetBaseName (const tString &file) |
| get base name of the file More... | |
| static tString | GetExtension (const tString &file) |
| get extension of the file More... | |
| static tString | GetPath (const tString &file) |
| get path containing the file More... | |
| static tString | GetFileName (const tString &file) |
| get path containing the file More... | |
Static Public Member Functions inherited from CORE_Object | |
| static tBoolean | EnableMemoryStack (const tBoolean &isMemoryChecked) |
| enable the memory stack More... | |
| static void | EnableMemoryStack () |
| enable the memory stack | |
| static void | DisableMemoryStack () |
| disable the memory stack | |
| static tBoolean | IsMemoryStackEnabled () |
| return trur if the memory stack is enabled | |
| static tString | MemoryStackToString () |
| get the memory stack in string More... | |
| static tIndex | GetRegisteredClassesNumber () |
| get the memory stack in string More... | |
Additional Inherited Members | |
Protected Member Functions inherited from CORE_Object | |
| CORE_Object () | |
| build an instance of the object | |
| virtual | ~CORE_Object () |
| destroy the instance of object std | |
this class describes the file system IO by default write on standart output
|
inlinestatic |
copy file
| [in] | source | source file |
| [in] | dest | destfile |
|
inlinestatic |
copy file
| [in] | source | source file |
| [in] | dest | destfile |
| [in] | overwrite | : true to erase old file |
|
inlinestatic |
copy all the files within the directory to destination path
| [in] | sourcePath | path to get the files with extension ext |
| [in] | destPath | destinaton path |
| [in] | overwrite | : true to erase old file |
|
inlinestatic |
copy all the files with extension within the directory to destination path
| [in] | sourcePath | path to get the files with extension ext |
| [in] | exts | :xtensions of the file to search for example ".mov .avi " |
| [in] | destPath | destinaton path |
| [in] | overwrite | : true to erase old file |
|
inlinestatic |
copy path
| [in] | sourcePath | path to get the files with extension ext |
| [in] | destPath | destinaton path |
|
inlinestatic |
create a path
| [in] | path | create the path |
|
inlinestatic |
return true if the file or the path exists
| [in] | f | file or path to verify the existence |
|
inlinestatic |
get the absolute path of the path
| [in] | path | path to get the absolute path |
|
inlinestatic |
get base name of the file
| [in] | file | : name of the file |
|
inlinestatic |
get all the content files or paths within the directory
| [in] | path | path to get the content |
| [out] | content | : all the content of the path files of paths |
|
inlinestatic |
get the current path
|
inlinestatic |
get extension of the file
| [in] | file | : name of the file |
|
inlinestatic |
get path containing the file
| [in] | file | : name of the file |
|
inlinestatic |
get all the files within the directory with extension of the form .ext
| [in] | path | path to get the content |
| [in] | exts | extensions of the file to search for example ".mov .avi " |
| [out] | files | : all the absolute path for files within the path |
|
inlinestatic |
get all the files within the directory with extension of the form .ext
| [in] | path | path to get the content |
| [in] | prefix | prefix of files |
| [in] | exts | extensions of the file to search for example ".mov .avi " |
| [out] | files | : all the files within the path |
|
inlinestatic |
get all the files within the directory
| [in] | path | path to get the content |
| [out] | files | : all the files within the path |
|
inlineoverridevirtual |
return the memory size of the class
Reimplemented from CORE_Object.
Reimplemented in CORE_OutputFile.
|
inlinestatic |
get path containing the file
| [in] | file | : name of the file |
|
inlinestatic |
get all the paths within the directory
| [in] | aPath | absolute path to get the content |
|
inlinestatic |
get all the paths within the directory
| [in] | path | path to get the content |
| [out] | paths | all the paths within the path |
|
inlinestatic |
get the system path corresponding to posix path
|
inlinestatic |
return true if the file is a regular file
| [in] | f | file to test |
|
inlinestatic |
return true if the path designed by p is a path
| [in] | p | path to test |
|
inlinestatic |
remove all files within a path
| [in] | path | path in which the file has to be remove |
|
inlinestatic |
remove all files with extension within the path
| [in] | path | path in which the fils has to be remove remove |
| [in] | exts | extension of files to remove |
|
inlinestatic |
remove a file
| [in] | file | file to remove |
|
inlinestatic |
remove an empty path
| [in] | path | path to remove |
|
inlinestatic |
remove a path
| [in] | path | path to remove |
| [in] | force | true to remove the path even if not empty |
|
inlinestatic |
_breif mov ethe path or file to another path or file
| [in] | file | file to rename |
| [in] | newFile | : new full name |