Public Member Functions | Public Attributes | Private Attributes

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.

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

Detailed Description

Definition at line 166 of file pf.h.


Constructor & Destructor Documentation

pf_ValueList::pf_ValueList (  ) 

Definition at line 287 of file pf.cpp.

    : pf_Component(0)
{
    // Empty
}

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

Definition at line 297 of file pf.cpp.

    : pf_Component(0),
      m_vec(a_vec) {
    //Empty
}

pf_ValueList::~pf_ValueList (  )  [virtual]

Definition at line 293 of file pf.cpp.

                            {
    // Empty
}


Member Function Documentation

void pf_ValueList::Add ( const pf_Value a_val  ) 

Definition at line 303 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().

                                            {
    m_vec.push_back(a_val);
}

Here is the caller graph for this function:

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

Definition at line 307 of file pf.cpp.

References m_vec.

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

                                                     {
    return m_vec.at(i);
}

Here is the caller graph for this function:

unsigned int pf_ValueList::size (  )  const

Definition at line 311 of file pf.cpp.

References m_vec.

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

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

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 180 of file pf.h.


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