casac::record Class Reference

#include <record.h>

List of all members.


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.

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)


Member Typedef Documentation

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

Definition at line 21 of file record.h.

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

Definition at line 22 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

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

Definition at line 30 of file record.h.

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


The documentation for this class was generated from the following file:
Generated on Mon Sep 1 22:48:42 2008 for NRAOCASA by  doxygen 1.5.1