Version: 8.3.0
YACS::ENGINE::SchemaSave Class Reference

#include <VisitorSaveSchema.hxx>

Collaboration diagram for YACS::ENGINE::SchemaSave:

Public Member Functions

 SchemaSave (Proc *proc)
 
virtual void save (std::string xmlSchemaFile)
 

Protected Attributes

Proc_p
 

Detailed Description

Definition at line 117 of file VisitorSaveSchema.hxx.

Constructor & Destructor Documentation

SchemaSave::SchemaSave ( Proc proc)

Definition at line 1148 of file VisitorSaveSchema.cxx.

References _p, and YASSERT.

1148  : _p(proc)
1149 {
1150  YASSERT(_p);
1151 }

Member Function Documentation

void SchemaSave::save ( std::string  xmlSchemaFile)
virtual

Definition at line 1153 of file VisitorSaveSchema.cxx.

References _p, YACS::ENGINE::Proc::accept(), YACS::ENGINE::VisitorSaveSchema::closeFileSchema(), and YACS::ENGINE::VisitorSaveSchema::openFileSchema().

1154 {
1155  VisitorSaveSchema vss(_p);
1156  vss.openFileSchema(xmlSchemaFile);
1157  _p->accept(&vss);
1158  vss.closeFileSchema();
1159 }

Member Data Documentation

Proc* YACS::ENGINE::SchemaSave::_p
protected

Definition at line 123 of file VisitorSaveSchema.hxx.

Referenced by save(), and SchemaSave().


The documentation for this class was generated from the following files: