Public Member Functions | Protected Attributes

tinybasic.DTInteger Class Reference

Inheritance diagram for tinybasic.DTInteger:
tinybasic.DTDataType

List of all members.

Public Member Functions

 DTInteger (Scope scope, DTDataType tbd)
 DTInteger (Scope scope, int i)
int getInteger ()
 DTInteger (Scope scope, String s)
void setInteger (DTDataType tbd)
void setFloat (DTDataType tbd)
void setInteger (int i)
double getFloat ()
void setFloat (double d)
void assign (DTDataType tbd)
DTDataType multiply (DTDataType other)
DTDataType divide (DTDataType other)
DTDataType add (DTDataType other)
DTDataType subtract (DTDataType other)
DTDataType mod (DTDataType other)
DTDataType round ()
DTDataType truncate ()
int compareTo (Object o)
String toString ()

Protected Attributes

int i

Constructor & Destructor Documentation

tinybasic.DTInteger.DTInteger ( Scope  scope,
int  i 
)
tinybasic.DTInteger.DTInteger ( Scope  scope,
String  s 
)

Member Function Documentation

void tinybasic.DTInteger.assign ( DTDataType  tbd  ) 

Reimplemented from tinybasic.DTDataType.

References tinybasic.DTInteger.setInteger().

int tinybasic.DTInteger.compareTo ( Object  o  )  [virtual]
double tinybasic.DTInteger.getFloat (  ) 

Reimplemented from tinybasic.DTDataType.

References tinybasic.DTInteger.i.

DTDataType tinybasic.DTInteger.round (  ) 
void tinybasic.DTInteger.setFloat ( double  d  ) 

Reimplemented from tinybasic.DTDataType.

References tinybasic.DTInteger.i.

void tinybasic.DTInteger.setFloat ( DTDataType  tbd  ) 

Reimplemented from tinybasic.DTDataType.

References tinybasic.DTDataType.getFloat().

void tinybasic.DTInteger.setInteger ( int  i  ) 

Reimplemented from tinybasic.DTDataType.

void tinybasic.DTInteger.setInteger ( DTDataType  tbd  ) 
String tinybasic.DTInteger.toString (  ) 
DTDataType tinybasic.DTInteger.truncate (  ) 

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties