Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Anaphe::AIDA_XMLStore::Profile1DTranslator Class Reference

#include <Profile1DTranslator.h>

Inheritance diagram for Anaphe::AIDA_XMLStore::Profile1DTranslator:

Inheritance graph
[legend]
Collaboration diagram for Anaphe::AIDA_XMLStore::Profile1DTranslator:

Collaboration graph
[legend]
List of all members.

Public Methods

 Profile1DTranslator (const AIDA::IProfile1D *histo, const std::string &name, const std::string &path)
 constructors for writing (histo -> xml)

 Profile1DTranslator (const DataXML::DataObject *element)
 constructors for reading (xml -> histo)

virtual ~Profile1DTranslator ()
bool toXML ()
 transform to XML filling the data Object

AIDA::Dev::IDevProfile1D * createFromXML (AIDA::Dev::IDevHistogramFactory &factory)
 create Histogram from XML

DataXML::DataObject & dataObject ()
 getters for class members

const AIDA::IProfile1D * histo ()
const std::string & name ()
const std::string & path ()

Private Methods

 Profile1DTranslator (const Profile1DTranslator &)
Profile1DTranslator & operator= (const Profile1DTranslator &)
bool setAxes ()
bool setStatistics ()
bool setData ()

Private Attributes

DataXML::DataObject m_element
 private member data histogram XML element

const AIDA::IProfile1D * m_histo
 representative AIDA histogram

std::string m_name
 object name

std::string m_path
 object path


Constructor & Destructor Documentation

Anaphe::AIDA_XMLStore::Profile1DTranslator::Profile1DTranslator const AIDA::IProfile1D *    histo,
const std::string &    name,
const std::string &    path
 

Definition at line 41 of file Profile1DTranslator.cpp.

Anaphe::AIDA_XMLStore::Profile1DTranslator::Profile1DTranslator const DataXML::DataObject *    element
 

Definition at line 46 of file Profile1DTranslator.cpp.

Anaphe::AIDA_XMLStore::Profile1DTranslator::~Profile1DTranslator   [virtual]
 

Definition at line 52 of file Profile1DTranslator.cpp.

Anaphe::AIDA_XMLStore::Profile1DTranslator::Profile1DTranslator const Profile1DTranslator &    [private]
 

Definition at line 56 of file Profile1DTranslator.cpp.


Member Function Documentation

AIDA::Dev::IDevProfile1D * Anaphe::AIDA_XMLStore::Profile1DTranslator::createFromXML AIDA::Dev::IDevHistogramFactory &    factory
 

Definition at line 126 of file Profile1DTranslator.cpp.

References Anaphe::AIDA_XMLStore::Translator::AnnotationData, emptyString, Anaphe::AIDA_XMLStore::Translator::getAnnotation(), Anaphe::AIDA_XMLStore::Translator::getAxis(), Anaphe::AIDA_XMLStore::Translator::getHisto1DBinData(), Anaphe::AIDA_XMLStore::Translator::getObjectHeader(), m_element, m_name, m_path, and Anaphe::AIDA_XMLStore::Translator::setAnnotation().

Referenced by Anaphe::AIDA_XMLStore::AIDA_StoreXML::createFromXML().

DataXML::DataObject& Anaphe::AIDA_XMLStore::Profile1DTranslator::dataObject   [inline]
 

Definition at line 90 of file Profile1DTranslator.h.

References m_element.

Referenced by Anaphe::AIDA_XMLStore::StoreTranslator::append().

const AIDA::IProfile1D* Anaphe::AIDA_XMLStore::Profile1DTranslator::histo   [inline]
 

Definition at line 91 of file Profile1DTranslator.h.

References m_histo.

const std::string& Anaphe::AIDA_XMLStore::Profile1DTranslator::name   [inline]
 

Definition at line 92 of file Profile1DTranslator.h.

References m_name.

Referenced by Anaphe::AIDA_XMLStore::AIDA_StoreXML::createFromXML().

Anaphe::AIDA_XMLStore::Profile1DTranslator & Anaphe::AIDA_XMLStore::Profile1DTranslator::operator= const Profile1DTranslator &    [private]
 

Definition at line 60 of file Profile1DTranslator.cpp.

const std::string& Anaphe::AIDA_XMLStore::Profile1DTranslator::path   [inline]
 

Definition at line 93 of file Profile1DTranslator.h.

References m_path.

Referenced by Anaphe::AIDA_XMLStore::AIDA_StoreXML::createFromXML().

bool Anaphe::AIDA_XMLStore::Profile1DTranslator::setAxes   [private]
 

Definition at line 81 of file Profile1DTranslator.cpp.

References Anaphe::AIDA_XMLStore::Translator::appendAxis(), m_element, and m_histo.

Referenced by toXML().

bool Anaphe::AIDA_XMLStore::Profile1DTranslator::setData   [private]
 

Definition at line 104 of file Profile1DTranslator.cpp.

References Anaphe::AIDA_XMLStore::Translator::appendHisto1DBinData(), m_element, and m_histo.

Referenced by toXML().

bool Anaphe::AIDA_XMLStore::Profile1DTranslator::setStatistics   [private]
 

create statistics element containing all stat information and append the single statistic elements

Definition at line 91 of file Profile1DTranslator.cpp.

References Anaphe::AIDA_XMLStore::Translator::appendStatistics(), m_element, m_histo, and Anaphe::AIDA_XMLStore::Translator::toString().

Referenced by toXML().

bool Anaphe::AIDA_XMLStore::Profile1DTranslator::toXML  
 

Definition at line 67 of file Profile1DTranslator.cpp.

References Anaphe::AIDA_XMLStore::Translator::appendAnnotation(), Anaphe::AIDA_XMLStore::Translator::appendObjectHeader(), m_element, m_histo, m_name, m_path, setAxes(), setData(), and setStatistics().

Referenced by Anaphe::AIDA_XMLStore::StoreTranslator::append().


Member Data Documentation

DataXML::DataObject Anaphe::AIDA_XMLStore::Profile1DTranslator::m_element [private]
 

Definition at line 107 of file Profile1DTranslator.h.

Referenced by createFromXML(), dataObject(), setAxes(), setData(), setStatistics(), and toXML().

const AIDA::IProfile1D* Anaphe::AIDA_XMLStore::Profile1DTranslator::m_histo [private]
 

Definition at line 109 of file Profile1DTranslator.h.

Referenced by histo(), setAxes(), setData(), setStatistics(), and toXML().

std::string Anaphe::AIDA_XMLStore::Profile1DTranslator::m_name [private]
 

Definition at line 111 of file Profile1DTranslator.h.

Referenced by createFromXML(), name(), and toXML().

std::string Anaphe::AIDA_XMLStore::Profile1DTranslator::m_path [private]
 

Definition at line 113 of file Profile1DTranslator.h.

Referenced by createFromXML(), path(), and toXML().


The documentation for this class was generated from the following files:
Generated on Tue Nov 19 12:33:03 2002 for AIDA_XMLStore by doxygen1.2.16