Teuchos - Trilinos Tools Package Version of the Day
Teuchos::StringVisualDependencyXMLConverter Class Reference

An xml converter for StringVisualDepenencies. More...

#include <Teuchos_StandardDependencyXMLConverters.hpp>

Inheritance diagram for Teuchos::StringVisualDependencyXMLConverter:
Teuchos::VisualDependencyXMLConverter Teuchos::DependencyXMLConverter Teuchos::Describable Teuchos::LabeledObject

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.

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...
      <StringValues>
        <String value="First value"/>
        <String value="Second value"/>
        ...Other Values...
      </StringValues>
    </Dependency>

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.


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