VTK  9.0.20210120
Public Member Functions | Public Attributes | List of all members
vtx::VTXSchemaManager Class Reference

#include <VTXSchemaManager.h>

Public Member Functions

 VTXSchemaManager ()=default
 ~VTXSchemaManager ()=default
void Update (const std::string &streamName, const size_t step=0, const std::string &schemaName="vtk.xml")
 Updates metadata if stream is changed. More...
void Fill (vtkMultiBlockDataSet *multiblock, const size_t step=0)
 Fill multiblock data. More...

Public Attributes

double Time = 0.
 current time More...
size_t Step = 0
 current adios2 step More...
std::unique_ptr< VTXSchemaReader
 managed polymorphic reader, could be extended in a container More...

Detailed Description

Definition at line 39 of file VTXSchemaManager.h.

Constructor & Destructor Documentation

◆ VTXSchemaManager()

vtx::VTXSchemaManager::VTXSchemaManager ( )

◆ ~VTXSchemaManager()

vtx::VTXSchemaManager::~VTXSchemaManager ( )

Member Function Documentation

◆ Update()

void vtx::VTXSchemaManager::Update ( const std::string &  streamName,
const size_t  step = 0,
const std::string &  schemaName = "vtk.xml" 

Updates metadata if stream is changed.

streamNameinput current stream name
stepinput current step
schemaNameschema name to look for either as attribute or separate file

◆ Fill()

void vtx::VTXSchemaManager::Fill ( vtkMultiBlockDataSet multiblock,
const size_t  step = 0 

Fill multiblock data.

multiblockoutput structure to be filled by m_Reader
stepinput data for one step at a time

Member Data Documentation

◆ Time

double vtx::VTXSchemaManager::Time = 0.

current time

Definition at line 43 of file VTXSchemaManager.h.

◆ Step

size_t vtx::VTXSchemaManager::Step = 0

current adios2 step

Definition at line 45 of file VTXSchemaManager.h.

◆ Reader

std::unique_ptr<VTXSchema> vtx::VTXSchemaManager::Reader

managed polymorphic reader, could be extended in a container

Definition at line 48 of file VTXSchemaManager.h.

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