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

Serialisable NeXus class with associated attributes. More...

#include <bindings/cpp/NeXusStream.hpp>

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

List of all members.

Public Member Functions

 ObjectWithAttr (const std::string &attr1_name="", const Attr &attr1_value=Attr(), const std::string &attr2_name="", const Attr &attr2_value=Attr())
virtual void readFromFile (File &nf) const
virtual void writeToFile (File &nf) const
virtual ~ObjectWithAttr ()

Protected Member Functions

void processAttr (const std::string &attr1_name, const Attr &attr1_value, const std::string &attr2_name, const Attr &attr2_value)

Protected Attributes

std::list< Attrm_attr

Detailed Description

Serialisable NeXus class with associated attributes.

Definition at line 141 of file NeXusStream.hpp.


Constructor & Destructor Documentation

NeXus::Stream::ObjectWithAttr::ObjectWithAttr ( const std::string &  attr1_name = "",
const Attr attr1_value = Attr(),
const std::string &  attr2_name = "",
const Attr attr2_value = Attr() 
)
inline

Definition at line 160 of file NeXusStream.hpp.

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

Definition at line 181 of file NeXusStream.hpp.


Member Function Documentation

void NeXus::Stream::ObjectWithAttr::processAttr ( const std::string &  attr1_name,
const Attr attr1_value,
const std::string &  attr2_name,
const Attr attr2_value 
)
inlineprotected

Definition at line 146 of file NeXusStream.hpp.

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

Implements NeXus::Stream::ISerialisable.

Reimplemented in NeXus::Stream::Data, and NeXus::Stream::Group.

Definition at line 165 of file NeXusStream.hpp.

Referenced by NeXus::Stream::Group::readFromFile().

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

Implements NeXus::Stream::ISerialisable.

Reimplemented in NeXus::Stream::Data, and NeXus::Stream::Group.

Definition at line 173 of file NeXusStream.hpp.

Referenced by NeXus::Stream::Group::writeToFile().


Member Data Documentation

std::list<Attr> NeXus::Stream::ObjectWithAttr::m_attr
protected

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