eepgwde::detail::Bag Struct Reference

#include <eleve/src0/bag1.hpp>

List of all members.

Public Types

typedef boost::bimap< int,
std::string > 
attr_pos_t
typedef
attr_pos_t::left_map::const_iterator 
l_itr
 The left iterator is useful.
typedef
attr_pos_t::right_map::const_iterator 
r_itr
 The right iterator is useful.

Public Member Functions

void add (int column_position, const std::string &column_name)
std::list< boost::any > * get (const std::string &name0) throw (std::exception)
std::list< boost::any > * get (int pos) throw (std::exception)
const std::list< boost::any > * get (const std::string &name0) const throw (std::exception)
const std::list< boost::any > * get (int pos) const throw (std::exception)
std::list< boost::any > * append (int pos, const std::string &value0) throw (std::exception)
 Bag () throw (std::exception)
virtual ~Bag () throw ()

Public Attributes

attr_pos_t header
 The map containing the headers.

Protected Attributes

const std::auto_ptr
< eepgwde::detail::Bag::Impl
impl

Friends

struct Impl

Classes

struct  Impl


Detailed Description

Definition at line 26 of file bag1.hpp.


Member Typedef Documentation

typedef boost::bimap<int, std::string> eepgwde::detail::Bag::attr_pos_t

A map to look up by column name or by column index

Note:
Indices start at 1.

Definition at line 35 of file bag1.hpp.

typedef attr_pos_t::left_map::const_iterator eepgwde::detail::Bag::l_itr

The left iterator is useful.

Definition at line 38 of file bag1.hpp.

typedef attr_pos_t::right_map::const_iterator eepgwde::detail::Bag::r_itr

The right iterator is useful.

Definition at line 41 of file bag1.hpp.


Constructor & Destructor Documentation

eepgwde::detail::Bag::Bag (  )  throw (std::exception)

Definition at line 95 of file bag1.cpp.

eepgwde::detail::Bag::~Bag (  )  throw () [virtual]

Definition at line 93 of file bag1.cpp.


Member Function Documentation

void eepgwde::detail::Bag::add ( int  column_position,
const std::string &  column_name 
)

Definition at line 30 of file bag1.cpp.

References header, and impl.

std::list< boost::any > * eepgwde::detail::Bag::get ( const std::string &  name0  )  throw (std::exception)

Definition at line 46 of file bag1.cpp.

Referenced by eepgwde::detail::DataFrame0::DataFrame0().

std::list< boost::any > * eepgwde::detail::Bag::get ( int  pos  )  throw (std::exception)

Definition at line 59 of file bag1.cpp.

const std::list< boost::any > * eepgwde::detail::Bag::get ( const std::string &  name0  )  const throw (std::exception)

Definition at line 66 of file bag1.cpp.

const std::list< boost::any > * eepgwde::detail::Bag::get ( int  pos  )  const throw (std::exception)

Definition at line 71 of file bag1.cpp.

std::list< boost::any > * eepgwde::detail::Bag::append ( int  pos,
const std::string &  value0 
) throw (std::exception)

Definition at line 82 of file bag1.cpp.


Friends And Related Function Documentation

friend struct Impl [friend]

Definition at line 28 of file bag1.hpp.


Member Data Documentation

The map containing the headers.

Definition at line 44 of file bag1.hpp.

Referenced by add().

const std::auto_ptr<eepgwde::detail::Bag::Impl> eepgwde::detail::Bag::impl [protected]

Definition at line 86 of file bag1.hpp.

Referenced by add().


The documentation for this struct was generated from the following files:

Generated on Thu Feb 18 21:30:12 2010 for eleve by  doxygen 1.5.6