Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Teuchos::StringVisualDependencyXMLConverter Class Reference

An xml converter for StringVisualDepenencies. More...

#include <Teuchos_StandardDependencyXMLConverters.hpp>

Inheritance diagram for Teuchos::StringVisualDependencyXMLConverter:
Inheritance graph

List of all members.

Overridden from VisualDependencyConverter

void convertSpecialVisualAttributes (RCP< const VisualDependency > dependency, XMLObject &xmlObj, const XMLParameterListWriter::EntryIDsMap &entryIDsMap) const
RCP< VisualDependencyconvertSpecialVisualAttributes (const XMLObject &xmlObj, const Dependency::ConstParameterEntryList dependees, const Dependency::ParameterEntryList dependets, bool showIf, const XMLParameterListReader::EntryIDsMap &entryIDsMap) const
static const std::string & getStringValuesTagName ()
 Gets the StringValues Tag.

Private Members

static const std::string & getStringTagName ()
 Gets the String Tag.
static const std::string & getValueAttributeName ()
 Gets the Value attribute name.

Detailed Description

An xml converter for StringVisualDepenencies.

The valid XML representation of a StringVisualDependency is:

    <Dependency showIf="showIf value" type="StringVisualDependency">
      <Dependee parameterId="Id of dependee parameter"/>
      <Dependent parameterId="Id of dependent parameter"/>
      ...Any addiditional Dependents...
        <String value="First value"/>
        <String value="Second value"/>
        ...Other Values...

The "showIf" XML attribute is optional and if not present will be considered true.

Definition at line 220 of file Teuchos_StandardDependencyXMLConverters.hpp.

Member Function Documentation

void Teuchos::StringVisualDependencyXMLConverter::convertSpecialVisualAttributes ( RCP< const VisualDependency dependency,
XMLObject xmlObj,
const XMLParameterListWriter::EntryIDsMap entryIDsMap 
) const [virtual]
RCP< VisualDependency > Teuchos::StringVisualDependencyXMLConverter::convertSpecialVisualAttributes ( const XMLObject xmlObj,
const Dependency::ConstParameterEntryList  dependees,
const Dependency::ParameterEntryList  dependets,
bool  showIf,
const XMLParameterListReader::EntryIDsMap entryIDsMap 
) const [virtual]
static const std::string& Teuchos::StringVisualDependencyXMLConverter::getStringValuesTagName ( ) [inline, static]

Gets the StringValues Tag.

Definition at line 242 of file Teuchos_StandardDependencyXMLConverters.hpp.

static const std::string& Teuchos::StringVisualDependencyXMLConverter::getStringTagName ( ) [inline, static, private]

Gets the String Tag.

Definition at line 255 of file Teuchos_StandardDependencyXMLConverters.hpp.

static const std::string& Teuchos::StringVisualDependencyXMLConverter::getValueAttributeName ( ) [inline, static, private]

Gets the Value attribute name.

Definition at line 261 of file Teuchos_StandardDependencyXMLConverters.hpp.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines