17 #ifndef vtkXMLCollectionReader_h 18 #define vtkXMLCollectionReader_h 23 class vtkXMLCollectionReaderInternals;
39 virtual void SetRestriction(
const char* name,
const char* value);
40 virtual const char* GetRestriction(
const char* name);
51 virtual void SetRestrictionAsIndex(
const char* name,
int index);
52 virtual int GetRestrictionAsIndex(
const char* name);
59 int GetNumberOfAttributes();
66 const char* GetAttributeName(
int attribute);
72 int GetAttributeIndex(
const char* name);
77 int GetNumberOfAttributeValues(
int attribute);
86 const char* GetAttributeValue(
int attribute,
int index);
87 const char* GetAttributeValue(
const char* name,
int index);
95 int GetAttributeValueIndex(
int attribute,
const char* value);
96 int GetAttributeValueIndex(
const char* name,
const char* value);
112 vtkSetMacro(ForceOutputTypeToMultiBlock,
int);
113 vtkGetMacro(ForceOutputTypeToMultiBlock,
int);
114 vtkBooleanMacro(ForceOutputTypeToMultiBlock,
int);
121 void BuildRestrictedDataSets();
132 vtkDataObject* SetupOutput(
const std::string& filePath,
int index);
137 vtkXMLReader* SetupReader(
const std::string& filePath,
int index);
151 void ReadXMLDataImpl();
154 virtual void InternalProgressCallback();
159 void AddAttributeNameValue(
const char* name,
const char* value);
161 virtual void SetRestrictionImpl(
const char* name,
const char* value,
bool doModify);
163 void ReadAFile(
int index,
int updatePiece,
int updateNumPieces,
int updateGhostLevels,
171 void FillArraySelectionUsingReaders(
const std::string& filePath);
bool InternalForceMultiBlock
virtual const char * GetDataSetName()=0
virtual void SetupEmptyOutput()=0
void PrintSelf(ostream &os, vtkIndent indent)
#define VTKPVVTKEXTENSIONSIOCORE_EXPORT
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual void ReadXMLData()
Read a file wrapping many other XML files.
virtual int FillOutputPortInformation(int port, vtkInformation *info)
vtkXMLCollectionReaderInternals * Internal
virtual int ReadPrimaryElement(vtkXMLDataElement *ePrimary)
int ForceOutputTypeToMultiBlock
virtual int RequestDataObject(vtkInformation *vtkNotUsed(request), vtkInformationVector **vtkNotUsed(inputVector), vtkInformationVector *vtkNotUsed(outputVector))
static vtkAlgorithm * New()
void operator=(const vtkObjectBase &)