|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--EDU.gatech.cc.is.abstractrobot.ControlSystemS
|
+--EDU.gatech.cc.is.abstractrobot.ControlSystemMFN150
|
+--nslj.src.lang.NslBase
|
+--nslj.src.lang.NslData
|
+--nslj.src.lang.NslString
|
+--nslj.src.lang.NslString0
| Field Summary | |
java.lang.String |
_data
|
| Fields inherited from class nslj.src.lang.NslBase |
_accessChar, _name, _parent |
| Fields inherited from class EDU.gatech.cc.is.abstractrobot.ControlSystemMFN150 |
abstract_robot |
| Fields inherited from class EDU.gatech.cc.is.abstractrobot.ControlSystemS |
CSSTAT_DONE, CSSTAT_ERROR, CSSTAT_OK, seed |
| Constructor Summary | |
NslString0()
Constructor with default value null |
|
NslString0(NslString0 value)
Constructor, initialize the value to value |
|
NslString0(java.lang.String value)
Constructor, initialize the value to value |
|
NslString0(java.lang.String label,
NslHierarchy parent)
|
|
NslString0(java.lang.String label,
NslHierarchy parent,
NslString0 value)
|
|
NslString0(java.lang.String label,
NslHierarchy parent,
java.lang.String value)
|
|
| Method Summary | |
void |
duplicateData(NslData string)
Copy all data from n to this number object. |
NslData |
duplicateThis()
This method is equivalent to clone() method in java.lang.Object. |
java.lang.String |
get()
Get the value of this number |
boolean |
getboolean()
Get the value of this number in boolean |
int |
getDimensions()
Get number of dimensions of the Nsl Type |
double |
getdouble()
Get the value of this number in double precision floating point number |
float |
getfloat()
Get the value of this number in single precision floating point number |
int |
getint()
Get the value of this number in integer |
NslBoolean0 |
getNslBoolean0()
Get the value of this number in integer |
NslDouble0 |
getNslDouble0()
Get the value of this number in double precision floating point NslNumeric |
NslFloat0 |
getNslFloat0()
Get the value of this number in single precision floating point NslNumeric |
NslInt0 |
getNslInteger0()
Get the value of this number in integer |
NslString0 |
getNslString0()
Get the value of this number in integer |
int |
getSize1()
Get the left most index (2st axis) in this array |
java.lang.String |
getstring()
Get the value of this number in string |
boolean |
isDataSet()
Check if the string is well-defined and the corresponding string data is set. |
void |
resetData()
Reset the reference pointer to null |
void |
set(boolean value)
Set the value of this number to value |
void |
set(double value)
Set the value of this number to value |
void |
set(float value)
Set the value of this number to value |
void |
set(int value)
Set the value of this number to value |
void |
set(NslBoolean0 num)
Set the value of this number to num |
void |
set(NslNumeric0 num)
Set the value of this number to num |
void |
set(NslString0 num)
Set the value of this number to num |
void |
set(java.lang.String value)
Set the value of this number to value |
void |
setReference(NslData string)
Set the reference pointer of this string object to the data value of n. |
java.lang.String |
toString()
Print the value of the string |
| Methods inherited from class nslj.src.lang.NslData |
getDataType, getInport, getNslSizes, getOutport, getSize2, getSize3, getSize4, getSizes, nslGetPort |
| Methods inherited from class nslj.src.lang.NslBase |
nslGetAccess, nslGetName, nslGetParent, nslGetParentClass, nslGetParentModule, nslGetRealName, nslNullifyParent, nslSetAccess, nslSetName, nslSetParent |
| Methods inherited from class EDU.gatech.cc.is.abstractrobot.ControlSystemMFN150 |
init |
| Methods inherited from class EDU.gatech.cc.is.abstractrobot.ControlSystemS |
configure, Configure, getAbstractRobot, Init, quit, takeStep, TakeStep, trialEnd, TrialEnd, trialInit, TrialInit |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public java.lang.String _data
| Constructor Detail |
public NslString0()
public NslString0(java.lang.String value)
value - - the init valuepublic NslString0(NslString0 value)
value - - the init value
public NslString0(java.lang.String label,
NslHierarchy parent)
public NslString0(java.lang.String label,
NslHierarchy parent,
NslString0 value)
public NslString0(java.lang.String label,
NslHierarchy parent,
java.lang.String value)
| Method Detail |
public java.lang.String get()
public double getdouble()
public float getfloat()
public int getint()
public boolean getboolean()
public java.lang.String getstring()
public NslDouble0 getNslDouble0()
public NslFloat0 getNslFloat0()
public NslInt0 getNslInteger0()
public NslBoolean0 getNslBoolean0()
public NslString0 getNslString0()
public void set(double value)
value - public void set(float value)
value - public void set(int value)
value - public void set(boolean value)
value - public void set(java.lang.String value)
value - public void set(NslNumeric0 num)
num, - a scalar NslNumericpublic void set(NslBoolean0 num)
num, - a scalar NslBooleanpublic void set(NslString0 num)
num, - a scalar NslBooleanpublic void duplicateData(NslData string)
duplicateData in class NslDatan - - number to be copiedpublic NslData duplicateThis()
duplicateThis in class NslDatapublic void setReference(NslData string)
setReference in class NslDatan - - number that the reference pointer to the "true"
numerical data is copied.public boolean isDataSet()
isDataSet in class NslDatapublic void resetData()
resetData in class NslDatapublic java.lang.String toString()
toString in class NslDatapublic int getDimensions()
NslDatagetDimensions in class NslDatapublic int getSize1()
NslDatagetSize1 in class NslData
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||