Pol  Revision:cb584c9
Pol::Core::StoredConfigElem Class Reference

#include <cfgrepos.h>

+ Inheritance diagram for Pol::Core::StoredConfigElem:

Public Types

typedef StoredConfigElem::PropImpList::const_iterator const_iterator
 

Public Member Functions

 StoredConfigElem ()=default
 
 StoredConfigElem (Clib::ConfigElem &elem)
 
 StoredConfigElem (const StoredConfigElem &elem)=delete
 
 ~StoredConfigElem ()
 
void addprop (const std::string &propname, Bscript::BObjectImp *imp)
 
std::pair< const_iterator, const_iteratorequal_range (const std::string &propname) const
 
size_t estimateSize () const
 
Bscript::BObjectImpgetimp (const std::string &propname) const
 
Bscript::BObjectImplistprops () const
 
StoredConfigElemoperator= (const StoredConfigElem &)=delete
 
- Public Member Functions inherited from ref_counted
unsigned int add_ref ()
 
unsigned int count () const
 
unsigned int release ()
 

Private Types

typedef std::multimap< boost_utils::cfg_key_flystring, ref_ptr< Bscript::BObjectImp >, Clib::ci_cmp_predPropImpList
 

Private Attributes

PropImpList propimps_
 

Additional Inherited Members

- Protected Member Functions inherited from ref_counted
 ref_counted ()
 
 ~ref_counted ()=default
 
- Protected Attributes inherited from ref_counted
std::atomic< unsigned int > _count
 

Detailed Description

Definition at line 38 of file cfgrepos.h.

Member Typedef Documentation

typedef StoredConfigElem::PropImpList::const_iterator Pol::Core::StoredConfigElem::const_iterator

Definition at line 59 of file cfgrepos.h.

Constructor & Destructor Documentation

Pol::Core::StoredConfigElem::StoredConfigElem ( )
default
Pol::Core::StoredConfigElem::StoredConfigElem ( Clib::ConfigElem elem)
Pol::Core::StoredConfigElem::~StoredConfigElem ( )

Definition at line 56 of file cfgrepos.cpp.

Pol::Core::StoredConfigElem::StoredConfigElem ( const StoredConfigElem elem)
delete

Member Function Documentation

void Pol::Core::StoredConfigElem::addprop ( const std::string &  propname,
Bscript::BObjectImp imp 
)

Definition at line 65 of file cfgrepos.cpp.

References propimps_.

Referenced by StoredConfigElem().

size_t Pol::Core::StoredConfigElem::estimateSize ( ) const

Definition at line 99 of file cfgrepos.cpp.

References propimps_.

Bscript::BObjectImp * Pol::Core::StoredConfigElem::getimp ( const std::string &  propname) const
StoredConfigElem& Pol::Core::StoredConfigElem::operator= ( const StoredConfigElem )
delete

Member Data Documentation

PropImpList Pol::Core::StoredConfigElem::propimps_
private

Definition at line 63 of file cfgrepos.h.

Referenced by addprop(), equal_range(), estimateSize(), getimp(), and listprops().


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