Public Member Functions | Public Attributes | Private Attributes

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.

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

Detailed Description

Definition at line 101 of file pf.h.


Constructor & Destructor Documentation

pf_List::pf_List ( UInt32_t  a_lineNum  ) 

Definition at line 135 of file pf.cpp.

    : pf_Component(a_lineNum) {
    // Empty
}

pf_List::~pf_List (  )  [virtual]

Definition at line 140 of file pf.cpp.

                  {
    // Empty
}


Member Function Documentation

void pf_List::Add ( const pf_Elem a_elem  ) 

Definition at line 144 of file pf.cpp.

References m_vec.

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

                                       {
    m_vec.push_back(a_elem);
}

Here is the caller graph for this function:

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

Definition at line 148 of file pf.cpp.

References m_vec.

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

                                               {
    return m_vec.at(i);
}

Here is the caller graph for this function:

unsigned int pf_List::size (  )  const

Definition at line 152 of file pf.cpp.

References m_vec.

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

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

Here is the caller graph for this function:


Member Data Documentation

Reimplemented from pf_Component.

Definition at line 114 of file pf.h.

Definition at line 111 of file pf.h.

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


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