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

Anaphe::AIDA_XMLStore::FunctionTranslator Class Reference

#include <FunctionTranslator.h>

Inheritance diagram for Anaphe::AIDA_XMLStore::FunctionTranslator:

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

Collaboration graph
[legend]
List of all members.

Public Methods

 FunctionTranslator (const AIDA::IFunction *cloud, const std::string &name, const std::string &path)
 constructors for writing (histo -> xml)

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

virtual ~FunctionTranslator ()
DataXML::DataObject & dataObject ()
const AIDA::IFunction * function ()
const std::string & name ()
const std::string & path ()
bool toXML ()
 transform to XML filling the data Object

AIDA::Dev::IDevFunction * createFromXML (AIDA::Dev::IDevFunctionFactory &factory)
 create Cloud from XML


Private Methods

 FunctionTranslator (const FunctionTranslator &)
FunctionTranslator & operator= (const FunctionTranslator &)
bool setData ()

Private Attributes

DataXML::DataObject m_element
 private member data histogram XML element

const AIDA::IFunction * m_function
 representative AIDA histogram

std::string m_name
 object name

std::string m_path
 object path


Constructor & Destructor Documentation

Anaphe::AIDA_XMLStore::FunctionTranslator::FunctionTranslator const AIDA::IFunction *    cloud,
const std::string &    name,
const std::string &    path
 

Definition at line 41 of file FunctionTranslator.cpp.

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

Definition at line 46 of file FunctionTranslator.cpp.

Anaphe::AIDA_XMLStore::FunctionTranslator::~FunctionTranslator   [virtual]
 

Definition at line 52 of file FunctionTranslator.cpp.

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

Definition at line 56 of file FunctionTranslator.cpp.


Member Function Documentation

AIDA::Dev::IDevFunction * Anaphe::AIDA_XMLStore::FunctionTranslator::createFromXML AIDA::Dev::IDevFunctionFactory &    factory
 

Definition at line 122 of file FunctionTranslator.cpp.

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

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

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

Definition at line 85 of file FunctionTranslator.h.

References m_element.

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

const AIDA::IFunction* Anaphe::AIDA_XMLStore::FunctionTranslator::function   [inline]
 

Definition at line 86 of file FunctionTranslator.h.

References m_function.

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

Definition at line 87 of file FunctionTranslator.h.

References m_name.

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

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

Definition at line 60 of file FunctionTranslator.cpp.

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

Definition at line 88 of file FunctionTranslator.h.

References m_path.

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

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

Definition at line 89 of file FunctionTranslator.cpp.

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

Referenced by toXML().

bool Anaphe::AIDA_XMLStore::FunctionTranslator::toXML  
 

Definition at line 67 of file FunctionTranslator.cpp.

References Anaphe::AIDA_XMLStore::Translator::appendAnnotation(), Anaphe::AIDA_XMLStore::Translator::appendObjectHeader(), emptyString, m_element, m_function, m_name, m_path, and setData().

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


Member Data Documentation

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

Definition at line 110 of file FunctionTranslator.h.

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

const AIDA::IFunction* Anaphe::AIDA_XMLStore::FunctionTranslator::m_function [private]
 

Definition at line 112 of file FunctionTranslator.h.

Referenced by function(), setData(), and toXML().

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

Definition at line 114 of file FunctionTranslator.h.

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

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

Definition at line 116 of file FunctionTranslator.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:02 2002 for AIDA_XMLStore by doxygen1.2.16