Chemical Data Processing Library C++ API - Version 1.2.0
Public Types | Public Member Functions | List of all members
CDPL::Biomol::MMCIFData::Item Class Reference

#include <MMCIFData.hpp>

Public Types

typedef ValueList::const_iterator ConstValueIterator
 
typedef ValueList::iterator ValueIterator
 

Public Member Functions

 Item (const std::string &name)
 
const std::string & getName () const
 
std::size_t getNumValues () const
 
void clear ()
 
const std::string & getValue (std::size_t index) const
 
void setValue (std::size_t index, const std::string &value)
 
void setValue (std::size_t index, std::string &&value)
 
void addValue (const std::string &value)
 
void addValue (std::string &&value)
 
ValueIterator removeValue (const ValueIterator &it)
 
void removeValue (std::size_t index)
 
void swap (Item &item)
 
ConstValueIterator getValuesBegin () const
 
ValueIterator getValuesBegin ()
 
ConstValueIterator getValuesEnd () const
 
ValueIterator getValuesEnd ()
 
ConstValueIterator begin () const
 
ValueIterator begin ()
 
ConstValueIterator end () const
 
ValueIterator end ()
 

Member Typedef Documentation

◆ ConstValueIterator

typedef ValueList::const_iterator CDPL::Biomol::MMCIFData::Item::ConstValueIterator

◆ ValueIterator

typedef ValueList::iterator CDPL::Biomol::MMCIFData::Item::ValueIterator

Constructor & Destructor Documentation

◆ Item()

CDPL::Biomol::MMCIFData::Item::Item ( const std::string &  name)
inline

Member Function Documentation

◆ getName()

const std::string& CDPL::Biomol::MMCIFData::Item::getName ( ) const

◆ getNumValues()

std::size_t CDPL::Biomol::MMCIFData::Item::getNumValues ( ) const

◆ clear()

void CDPL::Biomol::MMCIFData::Item::clear ( )

◆ getValue()

const std::string& CDPL::Biomol::MMCIFData::Item::getValue ( std::size_t  index) const

◆ setValue() [1/2]

void CDPL::Biomol::MMCIFData::Item::setValue ( std::size_t  index,
const std::string &  value 
)

◆ setValue() [2/2]

void CDPL::Biomol::MMCIFData::Item::setValue ( std::size_t  index,
std::string &&  value 
)

◆ addValue() [1/2]

void CDPL::Biomol::MMCIFData::Item::addValue ( const std::string &  value)

◆ addValue() [2/2]

void CDPL::Biomol::MMCIFData::Item::addValue ( std::string &&  value)

◆ removeValue() [1/2]

ValueIterator CDPL::Biomol::MMCIFData::Item::removeValue ( const ValueIterator it)

◆ removeValue() [2/2]

void CDPL::Biomol::MMCIFData::Item::removeValue ( std::size_t  index)

◆ swap()

void CDPL::Biomol::MMCIFData::Item::swap ( Item item)

◆ getValuesBegin() [1/2]

ConstValueIterator CDPL::Biomol::MMCIFData::Item::getValuesBegin ( ) const

◆ getValuesBegin() [2/2]

ValueIterator CDPL::Biomol::MMCIFData::Item::getValuesBegin ( )

◆ getValuesEnd() [1/2]

ConstValueIterator CDPL::Biomol::MMCIFData::Item::getValuesEnd ( ) const

◆ getValuesEnd() [2/2]

ValueIterator CDPL::Biomol::MMCIFData::Item::getValuesEnd ( )

◆ begin() [1/2]

ConstValueIterator CDPL::Biomol::MMCIFData::Item::begin ( ) const

◆ begin() [2/2]

ValueIterator CDPL::Biomol::MMCIFData::Item::begin ( )

◆ end() [1/2]

ConstValueIterator CDPL::Biomol::MMCIFData::Item::end ( ) const

◆ end() [2/2]

ValueIterator CDPL::Biomol::MMCIFData::Item::end ( )

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