8 #ifndef NDFILEHDF5LAYOUTXML_H_
9 #define NDFILEHDF5LAYOUTXML_H_
11 #include <libxml/xmlreader.h>
15 #include <log4cxx/logger.h>
35 #define LOG4CXX_ERROR(LOG, msg) std::cout << msg << std::endl
36 #define LOG4CXX_INFO(LOG, msg) std::cout << msg << std::endl
37 #define LOG4CXX_DEBUG(LOG, msg) std::cout << msg << std::endl
38 #define LOG4CXX_WARN(LOG, msg) std::cout << msg << std::endl
40 #define LOG4CXX_ERROR(LOG, msg)
41 #define LOG4CXX_INFO(LOG, msg)
42 #define LOG4CXX_DEBUG(LOG, msg)
43 #define LOG4CXX_WARN(LOG, msg)
99 bool getAutoNDAttrDefault();
104 int process_dset_xml_attribute(
DataSource& out);
105 int process_attribute_xml_attribute(
Attribute& out);
114 bool auto_ndattr_default;
118 xmlTextReaderPtr xmlreader;
119 std::map<std::string, std::string> globals;
static const std::string ATTR_ATTRIBUTE
Definition: NDFileHDF5LayoutXML.h:68
Class used for writing an Attribute with the NDFileHDF5 plugin.
Definition: NDFileHDF5Layout.h:87
static const std::string ATTR_ROOT_NDATTR_DEFAULT
Definition: NDFileHDF5LayoutXML.h:72
static const std::string ATTR_GLOBAL_VALUE
Definition: NDFileHDF5LayoutXML.h:83
static const std::string ATTR_ELEMENT_NAME
Definition: NDFileHDF5LayoutXML.h:64
static const std::string ATTR_SRC_DETECTOR
Definition: NDFileHDF5LayoutXML.h:74
static const std::string ATTR_ROOT
Definition: NDFileHDF5LayoutXML.h:65
static const std::string ATTR_DATASET
Definition: NDFileHDF5LayoutXML.h:67
static const std::string ATTR_SOURCE
Definition: NDFileHDF5LayoutXML.h:73
static const std::string ATTR_HARDLINK_TARGET
Definition: NDFileHDF5LayoutXML.h:85
Used to define layout of HDF5 file with NDFileHDF5 plugin.
Definition: NDFileHDF5LayoutXML.h:61
static const std::string ATTR_SRC_NDATTR
Definition: NDFileHDF5LayoutXML.h:76
static const std::string ATTR_SRC_CONST_TYPE
Definition: NDFileHDF5LayoutXML.h:79
static const std::string ATTR_SRC_CONST_VALUE
Definition: NDFileHDF5LayoutXML.h:78
static const std::string DEFAULT_LAYOUT
Definition: NDFileHDF5LayoutXML.h:87
static const std::string ATTR_SRC_CONST
Definition: NDFileHDF5LayoutXML.h:77
Class used for writing the root of the file with the NDFileHDF5 plugin.
Definition: NDFileHDF5Layout.h:275
static const std::string ATTR_HARDLINK_NAME
Definition: NDFileHDF5LayoutXML.h:84
Logger * LoggerPtr
Definition: NDFileHDF5LayoutXML.h:31
Definition: NDFileHDF5LayoutXML.h:26
static const std::string ATTR_SRC_WHEN
Definition: NDFileHDF5LayoutXML.h:81
static const std::string ATTR_GRP_NDATTR_DEFAULT
Definition: NDFileHDF5LayoutXML.h:80
static const std::string ATTR_GLOBAL
Definition: NDFileHDF5LayoutXML.h:69
#define NDPLUGIN_API
Definition: NDPluginAPI.h:41
static const std::string ATTR_HARDLINK
Definition: NDFileHDF5LayoutXML.h:70
static const std::string ATTR_GROUP
Definition: NDFileHDF5LayoutXML.h:66
int main_xml(const char *fname)
static Logger * getLogger(const std::string &name)
Definition: NDFileHDF5LayoutXML.h:29
static const std::string ATTR_SRC_DET_DEFAULT
Definition: NDFileHDF5LayoutXML.h:75
Definition: NDFileHDF5Layout.h:44
Describe a generic structure element with the NDFileHDF5 plugin.
Definition: NDFileHDF5Layout.h:114
Class used for writing a DataSource with the NDFileHDF5 plugin.
Definition: NDFileHDF5Layout.h:49
static const std::string ATTR_GLOBAL_NAME
Definition: NDFileHDF5LayoutXML.h:82