pf_List Class Reference
[Parser for config files; validation]

#include <pf.h>

Inheritance diagram for pf_List:

Inheritance graph
[legend]
Collaboration diagram for pf_List:

Collaboration graph
[legend]

List of all members.


Detailed Description

Definition at line 87 of file pf.h.


Public Member Functions

 pf_List (UInt32_t a_lineNum)
virtual ~pf_List ()
void Add (const pf_Elem &a_elem)
const pf_ElemAt (unsigned int i) const
unsigned int size () const

Public Attributes

vector< pf_Elemm_vec

Private Attributes

 log_CLASSID_m

Constructor & Destructor Documentation

pf_List::pf_List ( UInt32_t  a_lineNum  ) 

Definition at line 121 of file pf.cpp.

00122     : pf_Component(a_lineNum) {
00123     // Empty
00124 }

pf_List::~pf_List (  )  [virtual]

Definition at line 126 of file pf.cpp.

00126                   {
00127     // Empty
00128 }


Member Function Documentation

void pf_List::Add ( const pf_Elem a_elem  ) 

Definition at line 130 of file pf.cpp.

References m_vec.

Referenced by ap_Argument::ArgParse(), and yyparse().

00130                                        {
00131     m_vec.push_back(a_elem);
00132 }

Here is the caller graph for this function:

const pf_Elem & pf_List::At ( unsigned int  i  )  const

Definition at line 134 of file pf.cpp.

References m_vec.

Referenced by cfg_Base::Convert(), and operator<<().

00134                                                {
00135     return m_vec.at(i);
00136 }

Here is the caller graph for this function:

unsigned int pf_List::size (  )  const

Definition at line 138 of file pf.cpp.

References m_vec.

Referenced by cfg_Base::Convert(), and operator<<().

00138                                  {
00139     return static_cast<unsigned int>(m_vec.size());
00140 }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 97 of file pf.h.

Referenced by Add(), At(), and size().

Reimplemented from pf_Component.

Definition at line 100 of file pf.h.


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

Generated on Mon Feb 27 19:43:52 2012 for OPENARCHIVE by  doxygen 1.5.6