NeXus  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Protected Attributes
NeXus::Stream::Attr Class Reference

Serialisable attribute. More...

#include <bindings/cpp/NeXusStream.hpp>

Inheritance diagram for NeXus::Stream::Attr:
Inheritance graph
Collaboration diagram for NeXus::Stream::Attr:
Collaboration graph

List of all members.

Public Member Functions

 Attr ()
template<typename NumT >
 Attr (NumT &d)
template<typename NumT >
 Attr (const NumT &d)
template<typename NumT >
 Attr (const std::string &name, NumT &d)
template<typename NumT >
 Attr (const std::string &name, const NumT &d)
 Attr (const std::string &name, Attr &d)
 Attr (const std::string &name, const Attr &d)
 Attr (const Attr &a)
Attroperator= (const Attr &a)
void setName (const std::string &name)
virtual void readFromFile (File &nf) const
virtual void writeToFile (File &nf) const
virtual ~Attr ()

Protected Attributes

HolderBasem_holder

Detailed Description

Serialisable attribute.

Definition at line 113 of file NeXusStream.hpp.


Constructor & Destructor Documentation

NeXus::Stream::Attr::Attr ( )
inline

Definition at line 119 of file NeXusStream.hpp.

template<typename NumT >
NeXus::Stream::Attr::Attr ( NumT &  d)
inline

Definition at line 121 of file NeXusStream.hpp.

template<typename NumT >
NeXus::Stream::Attr::Attr ( const NumT &  d)
inline

Definition at line 123 of file NeXusStream.hpp.

template<typename NumT >
NeXus::Stream::Attr::Attr ( const std::string &  name,
NumT &  d 
)
inline

Definition at line 125 of file NeXusStream.hpp.

template<typename NumT >
NeXus::Stream::Attr::Attr ( const std::string &  name,
const NumT &  d 
)
inline

Definition at line 127 of file NeXusStream.hpp.

NeXus::Stream::Attr::Attr ( const std::string &  name,
Attr d 
)
inline

Definition at line 128 of file NeXusStream.hpp.

References NeXus::Stream::HolderBase::clone(), and m_holder.

Here is the call graph for this function:

NeXus::Stream::Attr::Attr ( const std::string &  name,
const Attr d 
)
inline

Definition at line 129 of file NeXusStream.hpp.

References NeXus::Stream::HolderBase::clone(), and m_holder.

Here is the call graph for this function:

NeXus::Stream::Attr::Attr ( const Attr a)
inline

Definition at line 130 of file NeXusStream.hpp.

References NeXus::Stream::HolderBase::clone(), and m_holder.

Here is the call graph for this function:

virtual NeXus::Stream::Attr::~Attr ( )
inlinevirtual

Definition at line 135 of file NeXusStream.hpp.


Member Function Documentation

Attr& NeXus::Stream::Attr::operator= ( const Attr a)
inline

Definition at line 131 of file NeXusStream.hpp.

References NeXus::Stream::HolderBase::clone(), and m_holder.

Here is the call graph for this function:

virtual void NeXus::Stream::Attr::readFromFile ( File nf) const
inlinevirtual

Implements NeXus::Stream::ISerialisable.

Definition at line 133 of file NeXusStream.hpp.

void NeXus::Stream::Attr::setName ( const std::string &  name)
inline

Definition at line 132 of file NeXusStream.hpp.

virtual void NeXus::Stream::Attr::writeToFile ( File nf) const
inlinevirtual

Implements NeXus::Stream::ISerialisable.

Definition at line 134 of file NeXusStream.hpp.


Member Data Documentation

HolderBase* NeXus::Stream::Attr::m_holder
protected

Definition at line 116 of file NeXusStream.hpp.

Referenced by Attr(), and operator=().


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