casa  $Rev:20696$
Public Types | Public Member Functions
casac::record Class Reference

todo: o create python to/from record functions o implement compare() o implement record_to_string() o create a thorough test program o verify that std::map<>'s copy ctor does a complete copy o add copy-on-write (w/ reference counting) More...

#include <record.h>

List of all members.

Public Types

typedef rec_map::iterator iterator
typedef rec_map::const_iterator const_iterator
typedef rec_map::value_type value_type

Public Member Functions

 record ()
recordclone () const
int compare (const record *) const
 record (const record &r)
recordoperator= (const record &r)
std::pair< rec_map::iterator,
bool > 
insert (const std::string &s, const variant &v)

Detailed Description

todo: o create python to/from record functions o implement compare() o implement record_to_string() o create a thorough test program o verify that std::map<>'s copy ctor does a complete copy o add copy-on-write (w/ reference counting)

Definition at line 19 of file record.h.


Member Typedef Documentation

typedef rec_map::const_iterator casac::record::const_iterator

Definition at line 22 of file record.h.

typedef rec_map::iterator casac::record::iterator

Definition at line 21 of file record.h.

typedef rec_map::value_type casac::record::value_type

Definition at line 23 of file record.h.


Constructor & Destructor Documentation

casac::record::record ( )

Referenced by clone().

casac::record::record ( const record r) [inline]

Definition at line 29 of file record.h.


Member Function Documentation

record* casac::record::clone ( ) const [inline]

Definition at line 26 of file record.h.

References record().

int casac::record::compare ( const record ) const
std::pair<rec_map::iterator,bool> casac::record::insert ( const std::string &  s,
const variant v 
)

Referenced by writeFit(), and writeInput().

record& casac::record::operator= ( const record r) [inline]

Definition at line 30 of file record.h.


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