OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
NCMLArray.h File Reference
#include <dods-datatypes.h>
#include <Array.h>
#include <BaseType.h>
#include <Vector.h>
#include <memory>
#include "MyBaseTypeFactory.h"
#include "NCMLBaseArray.h"
#include "NCMLDebug.h"
#include "Shape.h"
#include <sstream>
#include <string>
#include <typeinfo>
#include <vector>
Include dependency graph for NCMLArray.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ncml_module::NCMLArray< T >
 A parameterized subclass of libdap::Array that allows us to apply constraints on NcML-specified data prior to serialization. More...
 

Namespaces

 ncml_module
 An abstract superclass for NCMLArray<T> that handles the non-parameterized functionality and allows us to treat subclasses of any type T polymorphically.
 

Macros

#define NCMLARRAY_CHECK_ARRAY_TYPE_THEN_CALL_SUPER(arrayValue, sz)
 
#define NCMLARRAY_CHECK_VECTOR_TYPE_THEN_CALL_SUPER(vecValue, sz)
 

Macro Definition Documentation

#define NCMLARRAY_CHECK_ARRAY_TYPE_THEN_CALL_SUPER (   arrayValue,
  sz 
)
Value:
if (typeid(arrayValue) != typeid(T*)) \
{ \
THROW_NCML_INTERNAL_ERROR("NCMLArray<T>::set_value(): got wrong type of value array, doesn't match type T!"); \
} \
bool ret = Vector::set_value((arrayValue), (sz)); \
cacheSuperclassStateIfNeeded(); \
return ret;
#define THROW_NCML_INTERNAL_ERROR(msg)
Definition: NCMLDebug.h:61

Definition at line 186 of file NCMLArray.h.

Referenced by ncml_module::NCMLArray< T >::set_value().

#define NCMLARRAY_CHECK_VECTOR_TYPE_THEN_CALL_SUPER (   vecValue,
  sz 
)
Value:
if (typeid(vecValue) != typeid(vector<T>&)) \
{ \
THROW_NCML_INTERNAL_ERROR("NCMLArray<T>::setValue(): got wrong type of value vector, doesn't match type T!"); \
} \
bool ret = Vector::set_value((vecValue), (sz)); \
cacheSuperclassStateIfNeeded(); \
return ret;
#define THROW_NCML_INTERNAL_ERROR(msg)
Definition: NCMLDebug.h:61

Definition at line 195 of file NCMLArray.h.

Referenced by ncml_module::NCMLArray< T >::set_value().