Changeset 64 for cpp/gdk/extvalue.h
- Timestamp:
- 01/28/11 23:29:40 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/gdk/extvalue.h
r5 r64 1 // This file is a part of Framsticks GDK library.2 // Copyright (C) 2002-20 06Szymon Ulatowski. See LICENSE.txt for details.3 // Refer to http://www.frams .alife.pl/ for further information.1 // This file is a part of the Framsticks GDK library. 2 // Copyright (C) 2002-2011 Szymon Ulatowski. See LICENSE.txt for details. 3 // Refer to http://www.framsticks.com/ for further information. 4 4 5 5 #ifndef _EXTVALUE_H_ … … 13 13 14 14 enum ExtPType 15 {TUnknown=0,TInt,TDouble,TString,TObj };15 {TUnknown=0,TInt,TDouble,TString,TObj,TInvalid}; 16 16 17 17 /** … … 114 114 :type(TUnknown) {set(src);} 115 115 void setEmpty(); 116 void setInvalid() {setEmpty();type=TInvalid;} 116 117 ExtPType getType() {return type;} 117 118 void *getObjectTarget(const char* classname) {return (type==TObj)?getObject().getTarget(classname):0;}
Note: See TracChangeset
for help on using the changeset viewer.