#include <OMKAccessLevelList.h>
Inheritance diagram for OMK::Type::AccessLevelList< ItemType >:
Constructors and destructor. | |
AccessLevelList () | |
Default constructor ofAccessLevelList. | |
AccessLevelList (const AccessLevelList &ref) | |
Copy constructor of AccessLevelList. | |
AccessLevelList (OMK::Name group, AccessLevel accessLevel) | |
Constructor of AccessLevelList with the group and access level. | |
AccessLevelList (const AccessGroup &access) | |
Constructor of AccessLevelList with the access group. | |
AccessLevelList (OMK::Name group, AccessLevel accessLevel, const ItemsList &items) | |
Constructor of AccessLevelList with the access level and the items. | |
virtual | ~AccessLevelList () |
Destructor of AccessLevelList. | |
AccessLevelList & | operator= (const AccessLevelList &ref) |
Copy operator. | |
Public Types | |
typedef std::list< ItemType > | ItemsList |
Public Member Functions | |
void | addItem (const ItemType &item) |
Add a item to the items of AccessLevelList.". | |
Public Attributes | |
Public member | |
ItemsList | _items |
This member holds the items of AccessLevelList. | |
Protected Member Functions | |
void | _copy (const AccessLevelList &ref) |
Copy methods call by constructor and operator. | |
void | _copy (const ControlTakeOverPrm &q) |
Copy. | |
Friends | |
class | OMK::ParametersAccessor |
Friend parametor accessor. | |
Friend stream operators. | |
template<typename ItemType> | |
std::ostream & | operator<< (std::ostream &out, const AccessLevelList< ItemType > &c) |
stream operator for AccessGroup. | |
template<typename ItemType> | |
std::istream & | operator>> (std::istream &in, AccessLevelList< ItemType > &c) |
stream operator for AccessGroup. | |
template<typename ItemType> | |
OMK::OutgoingSynchronisationMessage & | operator<< (OMK::OutgoingSynchronisationMessage &out, const AccessLevelList< ItemType > &c) |
stream operator for AccessGroup. | |
template<typename ItemType> | |
OMK::IncomingSynchronisationMessage & | operator>> (OMK::IncomingSynchronisationMessage &in, AccessLevelList< ItemType > &c) |
stream operator for AccessGroup. |
Definition at line 73 of file OMKAccessLevelList.h.
typedef std::list< ItemType > OMK::Type::AccessLevelList< ItemType >::ItemsList |
Definition at line 76 of file OMKAccessLevelList.h.
OMK::Type::AccessLevelList< ItemType >::AccessLevelList | ( | ) |
Default constructor ofAccessLevelList.
Definition at line 39 of file OMKAccessLevelList.inl.
00040 : AccessGroup(), 00041 _items() 00042 { 00043 }
OMK::Type::AccessLevelList< ItemType >::AccessLevelList | ( | const AccessLevelList< ItemType > & | ref | ) |
Copy constructor of AccessLevelList.
Definition at line 48 of file OMKAccessLevelList.inl.
References OMK::Type::AccessLevelList< ItemType >::_copy().
00049 { 00050 _copy( ref ) ; 00051 }
OMK::Type::AccessLevelList< ItemType >::AccessLevelList | ( | OMK::Name | group, | |
AccessLevel | accessLevel | |||
) |
Constructor of AccessLevelList with the group and access level.
Definition at line 56 of file OMKAccessLevelList.inl.
00057 : AccessGroup( group, accessLevel ), 00058 _items() 00059 { 00060 }
OMK::Type::AccessLevelList< ItemType >::AccessLevelList | ( | const AccessGroup & | access | ) |
Constructor of AccessLevelList with the access group.
Definition at line 65 of file OMKAccessLevelList.inl.
00066 : AccessGroup( access ), 00067 _items() 00068 { 00069 }
OMK::Type::AccessLevelList< ItemType >::AccessLevelList | ( | OMK::Name | group, | |
AccessLevel | accessLevel, | |||
const ItemsList & | items | |||
) |
Constructor of AccessLevelList with the access level and the items.
OMK::Type::AccessLevelList< ItemType >::~AccessLevelList | ( | ) | [virtual] |
AccessLevelList< ItemType > & OMK::Type::AccessLevelList< ItemType >::operator= | ( | const AccessLevelList< ItemType > & | ref | ) |
Copy operator.
Definition at line 90 of file OMKAccessLevelList.inl.
References OMK::Type::AccessLevelList< ItemType >::_copy().
00091 { 00092 if ( this != &ref ) 00093 { 00094 _copy( ref ) ; 00095 } 00096 return *this ; 00097 }
void OMK::Type::AccessLevelList< ItemType >::addItem | ( | const ItemType & | item | ) | [inline] |
Add a item to the items of AccessLevelList.".
Definition at line 97 of file OMKAccessLevelList.h.
References OMK::Type::AccessLevelList< ItemType >::_items.
00097 { _items.push_back( item ) ; }
void OMK::Type::AccessLevelList< ItemType >::_copy | ( | const AccessLevelList< ItemType > & | ref | ) | [protected] |
Copy methods call by constructor and operator.
Definition at line 102 of file OMKAccessLevelList.inl.
References OMK::Type::AccessGroup::_copy(), and OMK::Type::AccessLevelList< ItemType >::_items.
Referenced by OMK::Type::AccessLevelList< ItemType >::AccessLevelList(), and OMK::Type::AccessLevelList< ItemType >::operator=().
00103 { 00104 00105 AccessGroup::_copy( ref ) ; 00106 _items = ref._items ; 00107 }
void OMK::Type::AccessLevelList< ItemType >::_copy | ( | const ControlTakeOverPrm & | q | ) | [protected] |
Copy.
friend class OMK::ParametersAccessor [friend] |
Friend parametor accessor.
Reimplemented from OMK::Type::AccessGroup.
Definition at line 115 of file OMKAccessLevelList.h.
std::ostream& operator<< | ( | std::ostream & | out, | |
const AccessLevelList< ItemType > & | c | |||
) | [friend] |
stream operator for AccessGroup.
Use by OMK::Type::SimpleTypeT::insertInStream.
Definition at line 117 of file OMKAccessLevelList.inl.
00118 { 00119 out << (OMK::Type::AccessGroup)prm << " " 00120 << prm._items << " " 00121 << " " ; 00122 return out ; 00123 }
std::istream& operator>> | ( | std::istream & | in, | |
AccessLevelList< ItemType > & | c | |||
) | [friend] |
stream operator for AccessGroup.
Use by OMK::Type::SimpleTypeT::extract.
Definition at line 128 of file OMKAccessLevelList.inl.
00129 { 00130 in >> (OMK::Type::AccessGroup)prm ; 00131 in >> prm._items ; 00132 return in ; 00133 }
OMK::OutgoingSynchronisationMessage& operator<< | ( | OMK::OutgoingSynchronisationMessage & | out, | |
const AccessLevelList< ItemType > & | c | |||
) | [friend] |
stream operator for AccessGroup.
Use by OMK::Type::SimpleTypeT::pack.
Definition at line 139 of file OMKAccessLevelList.inl.
00140 { 00141 out << (OMK::Type::AccessGroup)prm ; 00142 out << prm._items ; 00143 return out ; 00144 }
OMK::IncomingSynchronisationMessage& operator>> | ( | OMK::IncomingSynchronisationMessage & | in, | |
AccessLevelList< ItemType > & | c | |||
) | [friend] |
stream operator for AccessGroup.
Use by OMK::Type::SimpleTypeT::unpack.
Definition at line 150 of file OMKAccessLevelList.inl.
00151 { 00152 in >> (OMK::Type::AccessGroup)prm ; 00153 in >> prm._items ; 00154 return in ; 00155 }
ItemsList OMK::Type::AccessLevelList< ItemType >::_items |
This member holds the items of AccessLevelList.
Definition at line 108 of file OMKAccessLevelList.h.
Referenced by OMK::Type::AccessLevelList< ItemType >::_copy(), OMK::Type::AccessLevelList< ItemType >::addItem(), and operator>>().
Documentation generated on Mon Jun 9 11:46:05 2008 |
Generated with doxygen by Dimitri van Heesch , 1997-2007 |