VAPoR  0.1
Public Member Functions | List of all members
VAPoR::NCBuf Class Reference

#include <NCBuf.h>

Inheritance diagram for VAPoR::NCBuf:
VetsUtil::MyBase

Public Member Functions

 NCBuf (int ncid, int varid, int xtype, vector< size_t > dims, bool useCollective, int rank, size_t bufsize=4 *1024 *1024)
 
 ~NCBuf ()
 
int PutVara (const size_t start[], const size_t count[], const void *data)
 
int Flush ()
 
- Public Member Functions inherited from VetsUtil::MyBase
 MyBase ()
 
const string & getClassName () const
 

Additional Inherited Members

- Public Types inherited from VetsUtil::MyBase
typedef void(* ErrMsgCB_T) (const char *msg, int err_code)
 
typedef void(* DiagMsgCB_T) (const char *msg)
 
- Static Public Member Functions inherited from VetsUtil::MyBase
static void SetErrMsg (const char *format,...)
 Record a formatted error message. More...
 
static void SetErrMsg (int errcode, const char *format,...)
 Record a formatted error message and an error code. More...
 
static const char * GetErrMsg ()
 
static void SetErrCode (int err_code)
 Record an error code. More...
 
static int GetErrCode ()
 Retrieve the current error code. More...
 
static void SetErrMsgCB (ErrMsgCB_T cb)
 
static ErrMsgCB_T GetErrMsgCB ()
 
static void SetErrMsgFilePtr (FILE *fp)
 
static const FILE * SetErrMsgFilePtr ()
 
static void SetDiagMsg (const char *format,...)
 Record a formatted diagnostic message. More...
 
static const char * GetDiagMsg ()
 
static void SetDiagMsgCB (DiagMsgCB_T cb)
 
static DiagMsgCB_T GetDiagMsgCB ()
 
static void SetDiagMsgFilePtr (FILE *fp)
 
static bool EnableErrMsg (bool enable)
 
- Static Public Attributes inherited from VetsUtil::MyBase
static char * ErrMsg
 
static int ErrCode
 
static int ErrMsgSize
 
static FILE * ErrMsgFilePtr
 
static ErrMsgCB_T ErrMsgCB
 
static char * DiagMsg
 
static int DiagMsgSize
 
static FILE * DiagMsgFilePtr
 
static DiagMsgCB_T DiagMsgCB
 
static bool Enabled
 
- Protected Member Functions inherited from VetsUtil::MyBase
void SetClassName (const string &name)
 

Detailed Description

Definition at line 12 of file NCBuf.h.

Constructor & Destructor Documentation

VAPoR::NCBuf::NCBuf ( int  ncid,
int  varid,
int  xtype,
vector< size_t >  dims,
bool  useCollective,
int  rank,
size_t  bufsize = 4 *1024 *1024 
)
VAPoR::NCBuf::~NCBuf ( )

Member Function Documentation

int VAPoR::NCBuf::Flush ( )
int VAPoR::NCBuf::PutVara ( const size_t  start[],
const size_t  count[],
const void *  data 
)

The documentation for this class was generated from the following file: