Public Member Functions | Public Attributes | Private Attributes

pf_SectionList Class Reference
[Parser for config files; validation]

#include <pf.h>

Inheritance diagram for pf_SectionList:
Inheritance graph
[legend]
Collaboration diagram for pf_SectionList:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 pf_SectionList ()
virtual ~pf_SectionList ()
void Add (const pf_Section &a_val)
const pf_SectionAt (unsigned int i) const
pf_SectionAt (unsigned int i)
unsigned int size () const

Public Attributes

vector< pf_Sectionm_vec

Private Attributes

 log_CLASSID_m

Detailed Description

Definition at line 220 of file pf.h.


Constructor & Destructor Documentation

pf_SectionList::pf_SectionList (  ) 

Definition at line 359 of file pf.cpp.

:   pf_Component(0) {
    // Empty
}

pf_SectionList::~pf_SectionList (  )  [virtual]

Definition at line 366 of file pf.cpp.

                                {
    // Empty
}


Member Function Documentation

void pf_SectionList::Add ( const pf_Section a_val  ) 

Definition at line 370 of file pf.cpp.

References m_vec.

Referenced by GeneratePFStructure(), and yyparse().

                                                {
    m_vec.push_back(a_val);
}

Here is the caller graph for this function:

const pf_Section & pf_SectionList::At ( unsigned int  i  )  const

Definition at line 374 of file pf.cpp.

References m_vec.

Referenced by GeneratePFStructure().

                                                         {
    return m_vec.at(i);
}

Here is the caller graph for this function:

pf_Section & pf_SectionList::At ( unsigned int  i  ) 

Definition at line 378 of file pf.cpp.

References m_vec.

                                             {
    return m_vec.at(i);
}

unsigned int pf_SectionList::size (  )  const

Definition at line 382 of file pf.cpp.

References m_vec.

Referenced by cfg_Server::Refresh(), cfg_RMPool::Refresh(), cfg_RMLibrary::Refresh(), cfg_RMDrive::Refresh(), and cfg_PMCfg::Refresh().

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


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