Newer
Older
* Distributed under the OSI-approved Apache License, Version 2.0. See
* accompanying file Copyright.txt for details.
*
* Variable.h : template class for self-describing primitive variables
*
* Created on: Oct 6, 2016
#ifndef ADIOS2_CORE_VARIABLE_H_
#define ADIOS2_CORE_VARIABLE_H_
/// \cond EXCLUDE_FROM_DOXYGEN
#include <map>
#include <ostream> //std::ostream in MonitorGroups
#include <string>
#include <vector>
/// \endcond
#include "adios2/core/VariableBase.h"
namespace adios
{
* @param Base (parent) class for template derived (child) class Variable.
template <class T>
class Variable : public VariableBase
/** pointer to values passed from application in Engine Write*/
const T *m_AppValues = nullptr;
/** reference to non-const data, mostly used for reading */
T *m_AppPointer = nullptr;
/**
* Unique constructor
* @param name
* @param shape
* @param start
* @param count
* @param constantShape
* @param debugMode
*/
Variable<T>(const std::string &name, const Dims shape, const Dims start,
const Dims count, const bool constantShape,
#endif /* ADIOS2_CORE_VARIABLE_H_ */