|
My Project
|
Do not use this class directly, use NPLObjectProxy instead. More...
Public Member Functions | |
| NPLTable () | |
| this is an empty table | |
| override string | ToString () |
| output table to serialized string. More... | |
| void | Clear () |
| clear the table object | |
| void | SetField (string sName, NPLObjectProxy obj) |
| Set the field. More... | |
| void | SetField (int nIndex, NPLObjectProxy obj) |
| NPLObjectProxy | GetField (string sName) |
| get a field. More... | |
| NPLObjectProxy | GetField (int nIndex) |
| NPLObjectProxy | CreateGetField (string sName) |
| create or get a field. More... | |
| NPLObjectProxy | CreateGetField (int nIndex) |
| System.Collections.IEnumerator | GetEnumerator () |
| NPLTable () | |
| this is an empty table | |
| override string | ToString () |
| output table to serialized string. More... | |
| void | Clear () |
| clear the table object | |
| void | SetField (string sName, NPLObjectProxy obj) |
| Set the field. More... | |
| void | SetField (int nIndex, NPLObjectProxy obj) |
| NPLObjectProxy | GetField (string sName) |
| get a field. More... | |
| NPLObjectProxy | GetField (int nIndex) |
| NPLObjectProxy | CreateGetField (string sName) |
| create or get a field. More... | |
| NPLObjectProxy | CreateGetField (int nIndex) |
| System.Collections.IEnumerator | GetEnumerator () |
Public Member Functions inherited from NPLMono.NPLObjectBase | |
| NPLObjectType | GetMyType () |
| NPLObjectType | GetMyType () |
Properties | |
| NPLObjectProxy | this[string sName] [get, set] |
| this will create get field. More... | |
| NPLObjectProxy | this[int nIndex] [get, set] |
Additional Inherited Members | |
Protected Attributes inherited from NPLMono.NPLObjectBase | |
| NPLObjectType | m_type |
Do not use this class directly, use NPLObjectProxy instead.
|
inline |
create or get a field.
It may return null proxy
|
inline |
create or get a field.
It may return null proxy
|
inline |
get a field.
It may return null if not found.
|
inline |
get a field.
It may return null if not found.
|
inline |
Set the field.
| sName | the field name |
| pObject | if NULL, it will remove the field, as if nil in lua. |
|
inline |
Set the field.
| sName | the field name |
| pObject | if NULL, it will remove the field, as if nil in lua. |
|
inline |
output table to serialized string.
|
inline |
output table to serialized string.
|
getset |
this will create get field.
1.8.12