Dev:Built-in types

Dev:Built-in types - Built-in data types developer's guide

Synopsis
bool var [, ...] ; char8 var [, ...] ; char32 var [, ...] ; char256 var [, ...] ; char1024 var [, ...] ; complex var [, ...] ; complex_array var [, ...] ; double var [, ...] ; double_array var [, ...] ; enduse var [, ...] ; enumeration var [, ...] ; float var [, ...] ; int8 var [, ...] ; int16 var [, ...] ; int32 var [, ...] ; int64 var [, ...] ; loadshape var [, ...] ; object var [, ...] ; set var [, ...] ; timestamp var [, ...] ; transform var [, ...] ; randomvar var [, ...] ;
 * 1) include "gridlabd.h"

Remarks
Prior to there was no difference between the C and C++ implementations. Where noted, C++ specific information pertains only to versions as of.

bool

 * C : This is a typedef to long C type.
 * C++ : This is the basic bool C++ type.

char8
This is a typedef to char[9].
 * C++ : This is a template based on charbuf<9>.

char32
This is a typedef to char[33].
 * C++ : This is a template based on charbuf<33>.

char256
This is a typedef to char[257].
 * C++ : This is a template based on charbuf.

char1024
This is a typedef to char[1025].
 * C++ : This is a template based on charbuf.

complex

 * C : This is a typedef to the struct s_complex.
 * C++ : This is the class Dev:complex.

complex_array

 * C : This is a typedef to the struct s_doublearray.
 * C++ : This is the class double_array.

double
This is the C/C++ basic double C type.

double_array

 * C : This is a typedef to the struct s_doublearray.
 * C++ : This is the class double_array.

enduse
This is the s_enduse structure.

enumeration
This is a typedef to the long C type.

float
This is the basic float C type.

int8
This is a typedef to the signed char C type.

int16
This is a typedef to the signed short C type.

int32
This is a typedef to the signed long C type.

int64
This is a typedef to the signed longlong C type.

loadshape
This is the s_loadshape structure.

object
This is the s_objectlist structure.

set
This is a typedef to the int64 C type.

timestamp
This is a typedef to the int64 C type.

transform
This is the s_transform structure.

randomvar
This is the s_randomvar structure.