![]() |
FasTensor
1.0.0
Transform Supercomputing for AI
|
Functions | |
| std::string | realpathEx (std::string path) |
| expand the path to full directory https://www.dreamincode.net/forums/topic/218601-realpath-and-tilde/ More... | |
| int | ExtractEndpointTypeInfo (std::string endpoint_type_info, AuEndpointType &endpoint_type, std::string &endpoint_info) |
| Split endpoint_type_info string to type and information. More... | |
| int | file_exist (const char *filename) |
| Check wether the file exists. More... | |
| std::string | ExtractFileName (const std::string &fullPath) |
| std::string | ExtractPath (const std::string &fullPath) |
| std::vector< std::string > | GetDirFileList (std::string dir_str_p) |
| Get file list of a direction. More... | |
| AuEndpointType | MapString2EndpointType (std::string endpoint_type_str) |
| map string typed name of type to AuEndpointType More... | |
| int ExtractEndpointTypeInfo | ( | std::string | endpoint_type_info, |
| AuEndpointType & | endpoint_type, | ||
| std::string & | endpoint_info | ||
| ) |
Split endpoint_type_info string to type and information.
| endpoint_type_info,information | string for the endpoint |
| endpoint_type,output | value containing the type |
| endpoint_info,output | value containging all other parts |
| std::string ExtractFileName | ( | const std::string & | fullPath | ) |
| fullPath |
| std::string ExtractPath | ( | const std::string & | fullPath | ) |
| fullPath |
| int file_exist | ( | const char * | filename | ) |
Check wether the file exists.
| filename |
| std::vector<std::string> GetDirFileList | ( | std::string | dir_str_p | ) |
Get file list of a direction.
| dir_str_p |
| AuEndpointType MapString2EndpointType | ( | std::string | endpoint_type_str | ) |
map string typed name of type to AuEndpointType
| endpoint_type_str | input of string name |
Author: Bin Dong dbin@lbl.gov Web: https://crd.lbl.gov/bin-dong Scientific Data Management Research Group Lawrence Berkeley National Laboratory
| std::string realpathEx | ( | std::string | path | ) |
expand the path to full directory https://www.dreamincode.net/forums/topic/218601-realpath-and-tilde/
Author: Bin Dong dbin@lbl.gov Web: https://crd.lbl.gov/bin-dong Scientific Data Management Research Group Lawrence Berkeley National Laboratory