Files
pvData/pvDataApp/pv/pvType.h
Marty Kraimer ad9633c8f6 moved pvType.h from misc to pv.
Made changes to make it clear that is defining the pvData primitive types for pvData.
2011-01-28 08:22:46 -05:00

47 lines
1.0 KiB
C++

/* pvType.h */
/**
* Copyright - See the COPYRIGHT that is included with this distribution.
* EPICS pvDataCPP is distributed subject to a Software License Agreement found
* in file LICENSE that is included with this distribution.
*/
/* Definitions for the primitive types for pvData.
* It also defines the arrays of the primitive types
*/
#include <string>
#include <stdint.h>
#ifndef PVTYPE_H
#define PVTYPE_H
namespace epics { namespace pvData {
typedef bool boolean;
typedef int8_t int8;
typedef int16_t int16;
typedef int32_t int32;
typedef int64_t int64;
typedef uint32_t uint32;
typedef uint64_t uint64;
// float and double are types
typedef std::string String;
typedef bool * BooleanArray;
typedef int8 * ByteArray;
typedef int16 * ShortArray;
typedef int32 * IntArray;
typedef int64 * LongArray;
typedef float * FloatArray;
typedef double * DoubleArray;
typedef String* StringArray;
// convenience definition for toString methods
typedef std::string * StringBuilder;
}}
#endif /* PVTYPE_H */