Instrument Neutral Distributed Interface INDI  1.9.2
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
INDI::Properties Class Reference

#include <indiproperties.h>

Public Types

using iterator = std::deque< INDI::Property >::iterator
 
using const_iterator = std::deque< INDI::Property >::const_iterator
 
using reference = std::deque< INDI::Property >::reference
 
using const_reference = std::deque< INDI::Property >::const_reference
 
using size_type = std::deque< INDI::Property >::size_type
 

Public Member Functions

 Properties ()
 
 ~Properties ()
 
void push_back (const INDI::Property &property)
 
void push_back (INDI::Property &&property)
 
void clear ()
 
bool empty () const
 
size_type size () const
 
reference at (size_type pos)
 
const_reference at (size_type pos) const
 
reference operator[] (size_type pos)
 
const_reference operator[] (size_type pos) const
 
reference front ()
 
const_reference front () const
 
reference back ()
 
const_reference back () const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
iterator erase (iterator pos)
 
iterator erase (const_iterator pos)
 
iterator erase (iterator first, iterator last)
 
iterator erase (const_iterator first, const_iterator last)
 
template<typename Predicate >
iterator erase_if (Predicate predicate)
 
INDI::Properties operator* ()
 
const INDI::Properties operator* () const
 
Propertiesoperator-> ()
 
const Propertiesoperator-> () const
 
 operator std::vector< INDI::Property * > * ()
 
 operator const std::vector< INDI::Property * > * () const
 
 operator Properties * ()
 
 operator const Properties * () const
 

Protected Member Functions

 Properties (std::shared_ptr< PropertiesPrivate > dd)
 

Protected Attributes

std::shared_ptr< PropertiesPrivated_ptr
 

Detailed Description

Definition at line 31 of file indiproperties.h.

Member Typedef Documentation

◆ const_iterator

Definition at line 37 of file indiproperties.h.

◆ const_reference

Definition at line 39 of file indiproperties.h.

◆ iterator

Definition at line 36 of file indiproperties.h.

◆ reference

Definition at line 38 of file indiproperties.h.

◆ size_type

Definition at line 40 of file indiproperties.h.

Constructor & Destructor Documentation

◆ Properties() [1/2]

INDI::Properties::Properties ( )

Definition at line 30 of file indiproperties.cpp.

◆ ~Properties()

INDI::Properties::~Properties ( )

Definition at line 34 of file indiproperties.cpp.

◆ Properties() [2/2]

INDI::Properties::Properties ( std::shared_ptr< PropertiesPrivate dd)
protected

Definition at line 37 of file indiproperties.cpp.

Member Function Documentation

◆ at() [1/2]

Properties::reference INDI::Properties::at ( size_type  pos)

Definition at line 65 of file indiproperties.cpp.

◆ at() [2/2]

Properties::const_reference INDI::Properties::at ( size_type  pos) const

Definition at line 71 of file indiproperties.cpp.

◆ back() [1/2]

Properties::const_reference INDI::Properties::back ( )

Definition at line 101 of file indiproperties.cpp.

◆ back() [2/2]

const_reference INDI::Properties::back ( ) const

◆ begin() [1/2]

Properties::const_iterator INDI::Properties::begin ( )

Definition at line 113 of file indiproperties.cpp.

◆ begin() [2/2]

const_iterator INDI::Properties::begin ( ) const

◆ clear()

void INDI::Properties::clear ( )

Definition at line 53 of file indiproperties.cpp.

◆ empty()

bool INDI::Properties::empty ( ) const

◆ end() [1/2]

Properties::const_iterator INDI::Properties::end ( )

Definition at line 119 of file indiproperties.cpp.

◆ end() [2/2]

const_iterator INDI::Properties::end ( ) const

◆ erase() [1/4]

Properties::iterator INDI::Properties::erase ( const_iterator  first,
const_iterator  last 
)

Definition at line 155 of file indiproperties.cpp.

◆ erase() [2/4]

Properties::iterator INDI::Properties::erase ( const_iterator  pos)

Definition at line 143 of file indiproperties.cpp.

◆ erase() [3/4]

Properties::iterator INDI::Properties::erase ( iterator  first,
iterator  last 
)

Definition at line 149 of file indiproperties.cpp.

◆ erase() [4/4]

Properties::iterator INDI::Properties::erase ( iterator  pos)

Definition at line 137 of file indiproperties.cpp.

◆ erase_if()

template<typename Predicate >
Properties::iterator INDI::Properties::erase_if ( Predicate  predicate)
inline

Definition at line 107 of file indiproperties.h.

◆ front() [1/2]

Properties::const_reference INDI::Properties::front ( )

Definition at line 89 of file indiproperties.cpp.

◆ front() [2/2]

const_reference INDI::Properties::front ( ) const

◆ operator const Properties *()

INDI::Properties::operator const Properties * ( ) const

Definition at line 188 of file indiproperties.cpp.

◆ operator const std::vector< INDI::Property * > *()

INDI::Properties::operator const std::vector< INDI::Property * > * ( ) const

◆ operator Properties *()

INDI::Properties::operator Properties * ( )

Definition at line 182 of file indiproperties.cpp.

◆ operator std::vector< INDI::Property * > *()

INDI::Properties::operator std::vector< INDI::Property * > * ( )

◆ operator*() [1/2]

const INDI::Properties INDI::Properties::operator* ( )

Definition at line 162 of file indiproperties.cpp.

◆ operator*() [2/2]

const INDI::Properties INDI::Properties::operator* ( ) const

◆ operator->() [1/2]

const Properties * INDI::Properties::operator-> ( )

Definition at line 172 of file indiproperties.cpp.

◆ operator->() [2/2]

const Properties* INDI::Properties::operator-> ( ) const

◆ operator[]() [1/2]

Properties::reference INDI::Properties::operator[] ( Properties::size_type  pos)

Definition at line 77 of file indiproperties.cpp.

◆ operator[]() [2/2]

Properties::const_reference INDI::Properties::operator[] ( Properties::size_type  pos) const

Definition at line 83 of file indiproperties.cpp.

◆ push_back() [1/2]

void INDI::Properties::push_back ( const INDI::Property property)

Definition at line 41 of file indiproperties.cpp.

◆ push_back() [2/2]

void INDI::Properties::push_back ( INDI::Property &&  property)

Definition at line 47 of file indiproperties.cpp.

◆ size()

Properties::size_type INDI::Properties::size ( ) const

Definition at line 59 of file indiproperties.cpp.

Member Data Documentation

◆ d_ptr

std::shared_ptr<PropertiesPrivate> INDI::Properties::d_ptr
protected

Definition at line 102 of file indiproperties.h.


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