OpenStructure
|
#include <profile_handle.hh>
Public Member Functions | |
void | Save (const String &filename) const |
void | AddProfile (const String &name, ProfileHandlePtr prof) |
ProfileHandlePtr | GetProfile (const String &name) const |
size_t | size () const |
std::vector< String > | GetNames () const |
Static Public Member Functions | |
static ProfileDBPtr | Load (const String &filename) |
Contains a DB of profiles (identified by a unique name (String)).
Definition at line 257 of file profile_handle.hh.
void AddProfile | ( | const String & | name, |
ProfileHandlePtr | prof | ||
) |
std::vector<String> GetNames | ( | ) | const |
ProfileHandlePtr GetProfile | ( | const String & | name | ) | const |
|
static |
void Save | ( | const String & | filename | ) | const |
Saves all profiles in DB with limited accuracy of internal data. Binary format with fixed-width integers (should be portable).
|
inline |
Definition at line 269 of file profile_handle.hh.