OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions
ProfileDB Class Reference

#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< StringGetNames () const
 

Static Public Member Functions

static ProfileDBPtr Load (const String &filename)
 

Detailed Description

Contains a DB of profiles (identified by a unique name (String)).

Definition at line 257 of file profile_handle.hh.

Member Function Documentation

void AddProfile ( const String name,
ProfileHandlePtr  prof 
)
std::vector<String> GetNames ( ) const
ProfileHandlePtr GetProfile ( const String name) const
static ProfileDBPtr Load ( const String filename)
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).

size_t size ( ) const
inline

Definition at line 269 of file profile_handle.hh.


The documentation for this class was generated from the following file: