Class Avogadro::Core::ArraySet#

class ArraySet#

Base class for array type containers.

This base class gives us the non-templated base class that stores all arrays of data. You should use the base class as the container, and figure out its type when using it.

Subclassed by CoordinateSet< T >

Public Functions

inline ArraySet()#
inline ~ArraySet()#
template<typename T>
inline bool isType(const T&) const#
Returns:

true if the type of the array matches the input type.

Protected Attributes

PlaceHolder *m_content#
void *m_data#
template<typename ValueType>
class Holder : public ArraySet::PlaceHolder#

Public Functions

inline Holder(const ValueType &value)#
inline virtual const std::type_info &type() const#
inline virtual PlaceHolder *clone() const#

Public Members

ValueType m_content#
class PlaceHolder#

Subclassed by ArraySet::Holder< ValueType >

Public Functions

inline virtual ~PlaceHolder()#
virtual const std::type_info &type() const = 0#
virtual PlaceHolder *clone() const = 0#