public

Inheritance Graph

graph BT
	GenericAttributeList
	GenericAttributeList --> GenericAttribute
	click GenericAttributeList "classUtil_1_1GenericAttributeList"
	click GenericAttribute "classUtil_1_1GenericAttribute"

Description

Generic attribute to store a list data structure.

Public Types

   
   
typedef GenericAttributeList attr_t
   
typedef std::deque< std::unique_ptr< GenericAttribute > >:: const_iterator const_iterator
   
typedef std::deque< std::unique_ptr< GenericAttribute > >:: iterator iterator

Public Functions

   
   
  GenericAttributeList()
   
  GenericAttributeList(const GenericAttributeList & void)
   
  GenericAttributeList( GenericAttributeList && void)
   
  ~GenericAttributeList()
   
GenericAttributeList & operator=(const GenericAttributeList & void)
   
GenericAttributeList & operator=( GenericAttributeList && void)
   
void clear()
   
void push_front( GenericAttribute * attr)
   
void push_back( GenericAttribute * attr)
   
size_t size() const
   
bool empty() const
   
iterator begin()
   
const_iterator begin() const
   
iterator end()
   
const_iterator end() const
   
GenericAttribute * front()
   
const GenericAttribute * front() const
   
GenericAttribute * back()
   
const GenericAttribute * back() const
   
iterator erase( iterator position)
   
iterator erase( iterator first, iterator last)
   
std::string implode(const std::string & separator) const
   
GenericAttribute * at(int index) const
   
GenericAttributeList * clone() const
   
std::string toJSON() const
   
std::string toString() const
   
bool operator==(const GenericAttribute & void) const
Per default, the comparison returns false for unspecified types.

Documentation

typedef
Util::GenericAttributeList::attr_t

public
 
 
typedef GenericAttributeList attr_t

Defined in Util/GenericAttribute.h:572


typedef
Util::GenericAttributeList::const_iterator

public
 
 
typedef std::deque< std::unique_ptr< GenericAttribute > >:: const_iterator const_iterator

Defined in Util/GenericAttribute.h:574


typedef
Util::GenericAttributeList::iterator

public
 
 
typedef std::deque< std::unique_ptr< GenericAttribute > >:: iterator iterator

Defined in Util/GenericAttribute.h:575


function
Util::GenericAttributeList::GenericAttributeList

public
   
   
GenericAttributeList( )

Defined in Util/GenericAttribute.h:577


function
Util::GenericAttributeList::GenericAttributeList

public
     
     
GenericAttributeList( const GenericAttributeList & void )

Defined in Util/GenericAttribute.h:578


function
Util::GenericAttributeList::GenericAttributeList

public
     
     
GenericAttributeList( GenericAttributeList && void )

Defined in Util/GenericAttribute.h:579


function
Util::GenericAttributeList::~GenericAttributeList

public virtual
   
   
~GenericAttributeList( )

Defined in Util/GenericAttribute.h:580


function
Util::GenericAttributeList::operator=

public
     
     
GenericAttributeList & operator=( const GenericAttributeList & void )

Defined in Util/GenericAttribute.h:582


function
Util::GenericAttributeList::operator=

public
     
     
GenericAttributeList & operator=( GenericAttributeList && void )

Defined in Util/GenericAttribute.h:583


function
Util::GenericAttributeList::clear

public inline
   
   
void clear( )

Defined in Util/GenericAttribute.h:585


function
Util::GenericAttributeList::push_front

public inline
     
     
void push_front( GenericAttribute * attr )

Defined in Util/GenericAttribute.h:586


function
Util::GenericAttributeList::push_back

public inline
     
     
void push_back( GenericAttribute * attr )

Defined in Util/GenericAttribute.h:587


function
Util::GenericAttributeList::size

public const inline
   
   
size_t size( ) const

Defined in Util/GenericAttribute.h:588


function
Util::GenericAttributeList::empty

public const inline
   
   
bool empty( ) const

Defined in Util/GenericAttribute.h:589


function
Util::GenericAttributeList::begin

public inline
   
   
iterator begin( )

Defined in Util/GenericAttribute.h:591


function
Util::GenericAttributeList::begin

public const inline
   
   
const_iterator begin( ) const

Defined in Util/GenericAttribute.h:592


function
Util::GenericAttributeList::end

public inline
   
   
iterator end( )

Defined in Util/GenericAttribute.h:593


function
Util::GenericAttributeList::end

public const inline
   
   
const_iterator end( ) const

Defined in Util/GenericAttribute.h:594


function
Util::GenericAttributeList::front

public inline
   
   
GenericAttribute * front( )

Defined in Util/GenericAttribute.h:595


function
Util::GenericAttributeList::front

public const inline
   
   
const GenericAttribute * front( ) const

Defined in Util/GenericAttribute.h:596


function
Util::GenericAttributeList::back

public inline
   
   
GenericAttribute * back( )

Defined in Util/GenericAttribute.h:597


function
Util::GenericAttributeList::back

public const inline
   
   
const GenericAttribute * back( ) const

Defined in Util/GenericAttribute.h:598


function
Util::GenericAttributeList::erase

public inline
     
     
iterator erase( iterator position )

Defined in Util/GenericAttribute.h:600


function
Util::GenericAttributeList::erase

public inline
     
     
iterator erase( iterator first,
  iterator last
)    

Defined in Util/GenericAttribute.h:601


function
Util::GenericAttributeList::implode

public const
     
     
std::string implode( const std::string & separator ) const

Defined in Util/GenericAttribute.h:603


function
Util::GenericAttributeList::at

public const
     
     
GenericAttribute * at( int index ) const

Returns the element with given index (or nullptr if none exists).

Defined in Util/GenericAttribute.h:608


function
Util::GenericAttributeList::clone

public const virtual
   
   
GenericAttributeList * clone( ) const

Create a copy of this object.

Returns

Exact copy.

Defined in Util/GenericAttribute.h:610


function
Util::GenericAttributeList::toJSON

public const virtual
   
   
std::string toJSON( ) const

Convert the object to JavaScript Object Notation (JSON).

Returns

JSON representation;

Defined in Util/GenericAttribute.h:611


function
Util::GenericAttributeList::toString

public const virtual
   
   
std::string toString( ) const

Convert the object to a human-readable string.

Returns

String representation.

Defined in Util/GenericAttribute.h:612


function
Util::GenericAttributeList::operator==

public const virtual
     
     
bool operator==( const GenericAttribute & void ) const

Per default, the comparison returns false for unspecified types.

Defined in Util/GenericAttribute.h:613