src/serial/datatool/type.hpp File Reference

#include <corelib/ncbistd.hpp>
#include <corelib/ncbistre.hpp>
#include <corelib/ncbiutil.hpp>
#include <serial/impl/typeref.hpp>
#include "comments.hpp"
#include <list>
#include <set>

Include dependency graph for type.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  AnyType
class  CDataType

Defines

#define CheckValueType(value, type, name)


Define Documentation

#define CheckValueType value,
type,
name   ) 
 

Value:

do{ \
if ( dynamic_cast<const type*>(&(value)) == 0 ) { \
    (value).Warning(name " value expected", 1); return false; \
} } while(0)

Definition at line 332 of file type.hpp.

Referenced by CBigIntDataType::CheckValue(), CIntDataType::CheckValue(), COctetStringDataType::CheckValue(), CBitStringDataType::CheckValue(), CStringDataType::CheckValue(), CBoolDataType::CheckValue(), and CNullDataType::CheckValue().


Generated on Sun Feb 15 10:58:06 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Sun Feb 15 15:28:00 2009 by modify_doxy.py rev. 117643