Introduced typedef's to make the code more readble and maintanable

This commit is contained in:
Robert Osfield
2013-06-24 09:02:32 +00:00
parent 4044fd5a74
commit 48020eed9e
4 changed files with 16 additions and 11 deletions

View File

@@ -186,7 +186,8 @@ protected:
ArrayMap _arrayMap;
IdentifierMap _identifierMap;
std::map<std::string, int> _domainVersionMap;
typedef std::map<std::string, int> VersionMap;
VersionMap _domainVersionMap;
int _fileVersion;
bool _useSchemaData;
bool _forceReadingImage;

View File

@@ -188,10 +188,14 @@ protected:
ArrayMap _arrayMap;
ObjectMap _objectMap;
std::map<std::string, int> _domainVersionMap;
typedef std::map<std::string, int> VersionMap;
VersionMap _domainVersionMap;
WriteImageHint _writeImageHint;
bool _useSchemaData, _useRobustBinaryFormat;
std::map<std::string, std::string> _inbuiltSchemaMap;
bool _useSchemaData;
bool _useRobustBinaryFormat;
typedef std::map<std::string, std::string> SchemaMap;
SchemaMap _inbuiltSchemaMap;
std::vector<std::string> _fields;
std::string _schemaName;
std::string _compressorName;