pf_ValueList Class Reference
[Parser for config files; validation]

#include <pf.h>

Inheritance diagram for pf_ValueList:

Inheritance graph
[legend]
Collaboration diagram for pf_ValueList:

Collaboration graph
[legend]

List of all members.


Detailed Description

Definition at line 152 of file pf.h.


Public Member Functions

 pf_ValueList ()
 pf_ValueList (const vector< pf_Value > &a_vec)
virtual ~pf_ValueList ()
void Add (const pf_Value &a_val)
const pf_ValueAt (unsigned int i) const
unsigned int size () const

Public Attributes

vector< pf_Valuem_vec

Private Attributes

 log_CLASSID_m

Constructor & Destructor Documentation

pf_ValueList::pf_ValueList (  ) 

Definition at line 273 of file pf.cpp.

00274     : pf_Component(0)
00275 {
00276     // Empty
00277 }

pf_ValueList::pf_ValueList ( const vector< pf_Value > &  a_vec  ) 

Definition at line 283 of file pf.cpp.

00284     : pf_Component(0),
00285       m_vec(a_vec) {
00286     //Empty
00287 }

pf_ValueList::~pf_ValueList (  )  [virtual]

Definition at line 279 of file pf.cpp.

00279                             {
00280     // Empty
00281 }


Member Function Documentation

void pf_ValueList::Add ( const pf_Value a_val  ) 

Definition at line 289 of file pf.cpp.

References m_vec.

Referenced by ap_Argument::ArgParse(), GeneratePFStructure(), ap_Argument::Parse(), mif_CfgRep::ReplaceDate(), mif_CfgRep::ReplaceUser(), mif_CfgRep::ReplaceVersion(), and yyparse().

00289                                             {
00290     m_vec.push_back(a_val);
00291 }

Here is the caller graph for this function:

const pf_Value & pf_ValueList::At ( unsigned int  i  )  const

Definition at line 293 of file pf.cpp.

References m_vec.

Referenced by cfg_Base::Convert(), operator<<(), mif_CfgRep::ReplaceDate(), mif_CfgRep::ReplaceUser(), and mif_CfgRep::ReplaceVersion().

00293                                                      {
00294     return m_vec.at(i);
00295 }

Here is the caller graph for this function:

unsigned int pf_ValueList::size (  )  const

Definition at line 297 of file pf.cpp.

References m_vec.

Referenced by cfg_Base::Convert(), operator<<(), mif_CfgRep::ReplaceDate(), mif_CfgRep::ReplaceUser(), and mif_CfgRep::ReplaceVersion().

00297                                       {
00298     return static_cast<unsigned int>(m_vec.size());
00299 }

Here is the caller graph for this function:


Member Data Documentation

Reimplemented from pf_Component.

Reimplemented in pf_Group, and pf_Section.

Definition at line 166 of file pf.h.


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

Generated on Mon Feb 27 19:44:00 2012 for OPENARCHIVE by  doxygen 1.5.6