|
Berkeley SfM
|
Functions | |
| bool | IsUpper (const std::string &string) |
| bool | IsLower (const std::string &string) |
| bool | IsNumber (const std::string &string) |
| bool | IsAlphabetic (const std::string &string) |
| bool | HasPrefix (const std::string &string, const std::string &prefix) |
| bool | HasSuffix (const std::string &string, const std::string &suffix) |
| bool | HasExtension (const std::string &string, const std::string &extension) |
| void | ToUpper (std::string *string) |
| void | ToLower (std::string *string) |
| bool | ReplaceAll (std::string *string, const std::string &replace_this, const std::string &with_this) |
| bool | ReplaceAllChar (std::string *string, char replace_this, char with_this) |
| bool | RemoveNumbers (std::string *string) |
| std::string | CreateTimestampedFilename (const std::string &base, const std::string &extension, const bool include_date=true) |
| std::string | GetDir (const std::string &string) |
| std::string | GetPath (const std::string &string) |
| std::string | GetRootDir (const std::string &string) |
| std::string | GetFileName (const std::string &string) |
| std::string | GetFileNameNoExtension (const std::string &string) |
| bool | RemoveExtension (std::string *string) |
| bool | RemovePrefix (std::string *string) |
| bool | RemoveSuffix (std::string *string) |
| std::string | GetExtension (const std::string &string) |
| void | ReplaceExtension (std::string *string, const std::string &new_extension) |
| std::string | JoinFilePath (const std::vector< std::string > &strings) |
| bool | IsAbsolutePath (const std::string &string) |
| bool | Tokenize (const std::string &string, const std::vector< char > &delimiters, std::vector< std::string > *tokens) |
| bool | TokenizeFileString (const std::string &file_string, std::vector< std::string > *tokens) |
| void | TrimWhiteSpace (std::string *string) |
| std::string | StringPrintf (const std::string &string) |
| std::string | StringScanf (const std::string &string) |
| size_t | FindFirstOf (const std::string &string) |
| size_t | FindLastOf (const std::string &string) |
| std::vector< size_t > | FindAllOf (const std::string &string) |
| void | RemoveFirstOf (std::string *string, const std::string &remove_this) |
| void | RemoveLastOf (std::string *string, const std::string &remove_this) |
| void | RemoveAll (std::string *string, const std::string &remove_this) |
| std::string | Substring (const std::string &string) |
| std::string | After (const std::string &string, const std::string &after_this) |
| std::string | Before (const std::string &string, const std::string &before_this) |
| void | Append (std::string *base, const std::string &append) |
| void | Append (std::string *first, const std::vector< std::string > &second) |
| bool | TrimFromBackToLength (std::string *string, size_t length) |
| bool | TrimFromFrontToLength (std::string *string, size_t length) |
| bool | TrimFromTo (std::string *string, size_t from, size_t to) |
| bool | FileNamesEquivalent (const std::string &one, const std::string &two) |
| bool | ExtensionsEquivalent (const std::string &one, const std::string &two) |
| bool | FilePathsEquivalent (const std::string &one, const std::string &two) |
| void | Reverse (std::string *string) |
| std::string string::After | ( | const std::string & | string, |
| const std::string & | after_this | ||
| ) |
| void string::Append | ( | std::string * | base, |
| const std::string & | append | ||
| ) |
| void string::Append | ( | std::string * | first, |
| const std::vector< std::string > & | second | ||
| ) |
| std::string string::Before | ( | const std::string & | string, |
| const std::string & | before_this | ||
| ) |
| std::string string::CreateTimestampedFilename | ( | const std::string & | base, |
| const std::string & | extension, | ||
| const bool | include_date = true |
||
| ) |
|
inline |
Definition at line 34 of file extensions_equivalent.h.
| bool string::FileNamesEquivalent | ( | const std::string & | one, |
| const std::string & | two | ||
| ) |
| bool string::FilePathsEquivalent | ( | const std::string & | one, |
| const std::string & | two | ||
| ) |
| std::vector<size_t> string::FindAllOf | ( | const std::string & | string | ) |
| size_t string::FindFirstOf | ( | const std::string & | string | ) |
| size_t string::FindLastOf | ( | const std::string & | string | ) |
| std::string string::GetDir | ( | const std::string & | string | ) |
Definition at line 32 of file get_dir.h.
|
inline |
Definition at line 27 of file get_extension.h.
| std::string string::GetFileName | ( | const std::string & | string | ) |
| std::string string::GetFileNameNoExtension | ( | const std::string & | string | ) |
| std::string string::GetPath | ( | const std::string & | string | ) |
Definition at line 34 of file get_path.h.
| std::string string::GetRootDir | ( | const std::string & | string | ) |
Definition at line 33 of file get_root_dir.h.
|
inline |
Definition at line 27 of file has_extension.h.
|
inline |
Definition at line 27 of file has_prefix.h.
|
inline |
Definition at line 27 of file has_suffix.h.
|
inline |
Definition at line 27 of file is_absolute_path.h.
|
inline |
Definition at line 28 of file is_alphabetic.h.
|
inline |
Definition at line 28 of file is_lower.h.
|
inline |
Definition at line 28 of file is_number.h.
|
inline |
Definition at line 28 of file is_upper.h.
| std::string string::JoinFilePath | ( | const std::vector< std::string > & | strings | ) |
| void string::RemoveAll | ( | std::string * | string, |
| const std::string & | remove_this | ||
| ) |
|
inline |
Definition at line 30 of file remove_extension.h.
| void string::RemoveFirstOf | ( | std::string * | string, |
| const std::string & | remove_this | ||
| ) |
| void string::RemoveLastOf | ( | std::string * | string, |
| const std::string & | remove_this | ||
| ) |
| bool string::RemoveNumbers | ( | std::string * | string | ) |
| bool string::RemovePrefix | ( | std::string * | string | ) |
| bool string::RemoveSuffix | ( | std::string * | string | ) |
| bool string::ReplaceAll | ( | std::string * | string, |
| const std::string & | replace_this, | ||
| const std::string & | with_this | ||
| ) |
| bool string::ReplaceAllChar | ( | std::string * | string, |
| char | replace_this, | ||
| char | with_this | ||
| ) |
| void string::ReplaceExtension | ( | std::string * | string, |
| const std::string & | new_extension | ||
| ) |
|
inline |
| std::string string::StringPrintf | ( | const std::string & | string | ) |
| std::string string::StringScanf | ( | const std::string & | string | ) |
| std::string string::Substring | ( | const std::string & | string | ) |
|
inline |
Definition at line 45 of file tokenize.h.
|
inline |
Definition at line 33 of file tokenize_file_string.h.
|
inline |
Definition at line 28 of file to_lower.h.
|
inline |
Definition at line 28 of file to_upper.h.
| bool string::TrimFromBackToLength | ( | std::string * | string, |
| size_t | length | ||
| ) |
| bool string::TrimFromFrontToLength | ( | std::string * | string, |
| size_t | length | ||
| ) |
| bool string::TrimFromTo | ( | std::string * | string, |
| size_t | from, | ||
| size_t | to | ||
| ) |
|
inline |
Definition at line 27 of file trim_white_space.h.
1.8.10