ProfileDB Class Reference

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

#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 228 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 240 of file profile_handle.hh.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 10 Nov 2016 for OpenStructure by  doxygen 1.6.1