GEOSX
Namespaces | Functions
schemaUtilities.hpp File Reference
#include "dataRepository/xmlWrapper.hpp"
#include "common/DataTypes.hpp"
#include "dataRepository/DefaultValue.hpp"
#include <iostream>
#include <sstream>
#include <string>

Go to the source code of this file.

Namespaces

 geosx
 
 geosx::dataRepository
 

Functions

void geosx::schemaUtilities::ConvertDocumentationToSchema (std::string const &fname, dataRepository::Group *const group, integer documentationType)
 Generates the XML schema. More...
 
void geosx::schemaUtilities::BuildSimpleSchemaTypes (xmlWrapper::xmlNode schemaRoot)
 Generates the simple schema types. More...
 
void geosx::schemaUtilities::SchemaConstruction (dataRepository::Group *const group, xmlWrapper::xmlNode schemaRoot, xmlWrapper::xmlNode schemaParent, integer documentationType)
 Recursively builds the schema from the data structure skeleton. More...
 

Function Documentation

◆ BuildSimpleSchemaTypes()

void geosx::schemaUtilities::BuildSimpleSchemaTypes ( xmlWrapper::xmlNode  schemaRoot)

Generates the simple schema types.

Parameters
schemaRootXML node corresponding to the root

◆ ConvertDocumentationToSchema()

void geosx::schemaUtilities::ConvertDocumentationToSchema ( std::string const &  fname,
dataRepository::Group *const  group,
integer  documentationType 
)

Generates the XML schema.

Parameters
fnameschema filename
groupgroup passed in from which the schema information is extracted
documentationTypetype of XML schema generated

◆ SchemaConstruction()

void geosx::schemaUtilities::SchemaConstruction ( dataRepository::Group *const  group,
xmlWrapper::xmlNode  schemaRoot,
xmlWrapper::xmlNode  schemaParent,
integer  documentationType 
)

Recursively builds the schema from the data structure skeleton.

Parameters
groupgroup passed in from which the schema information is extracted
schemaRootXML node corresponding to the root
schemaParentXML node for the parent node
documentationTypetype of XML schema generated