Liberi
An exergame built for kids with CP!
UJeli Class Reference

Unity version of Jeli markup class. More...

Public Member Functions

 UJeli (object name)
 
 UJeli (object name, object value)
 
UJeli Clone ()
 
GetEnumName< T > ()
 
GetEnumName< T > (bool ignoreCase)
 
GetEnumValue< T > ()
 
GetEnumValue< T > (bool ignoreCase)
 
T[] GetChildNames< T > (Func< string, T > convert)
 
T[] GetChildValues< T > (Func< string, T > convert)
 
Dictionary< string, string > GetChildDictionary ()
 
Dictionary< string, T > GetChildDictionaryStringNames< T > (Func< string, T > convertValue)
 
Dictionary< T, string > GetChildDictionaryStringValues< T > (Func< string, T > convertName)
 
Dictionary< T1, T2 > GetChildDictionary< T1, T2 > (Func< string, T1 > convertName, Func< string, T2 > convertValue)
 
void GenerateChildren< T > (IEnumerable< T > nameObjects)
 
void GenerateChildren< T > (IEnumerable< T > nameObjects, Func< T, string > convert)
 
void GenerateChildren< T1, T2 > (IDictionary< T1, T2 > childDict)
 
void GenerateChildrenSimpleNames< T1, T2 > (IDictionary< T1, T2 > childDict, Func< T2, string > convertValue)
 
void GenerateChildrenSimpleValues< T1, T2 > (IDictionary< T1, T2 > childDict, Func< T1, string > convertName)
 
void GenerateChildren< T1, T2 > (IDictionary< T1, T2 > childDict, Func< T1, string > convertName, Func< T2, string > convertValue)
 
UJeli AddChild ()
 
UJeli AddChild (string name)
 
UJeli AddChild (string name, object value)
 
UJeli AddChild (UJeli child)
 
bool HasChild (string name)
 
UJeli GetChild (string name, int index)
 
UJeli GetChild (string name)
 
UJeli GetChild (int index)
 
UJeli[] GetChildren ()
 
UJeli[] GetChildren (string name)
 
int CountChildren ()
 
int CountChildren (string name)
 
void RemoveChild (string name, int index)
 
void RemoveChild (string name)
 
void RemoveChild (int index)
 
void RemoveChild (UJeli child)
 
void RemoveChildren (string name)
 
void ClearChildren ()
 
void Save (string fileName)
 
override string ToString ()
 

Static Public Member Functions

static UJeli Parse (string text)
 
static UJeli Load (string fileName)
 

Properties

string Name [get, set]
 
int IntName [get, set]
 
short ShortName [get, set]
 
long LongName [get, set]
 
byte ByteName [get, set]
 
sbyte SByteName [get, set]
 
char CharName [get, set]
 
uint UIntName [get, set]
 
ushort UShortName [get, set]
 
ulong ULongName [get, set]
 
float FloatName [get, set]
 
double DoubleName [get, set]
 
bool BoolName [get, set]
 
DateTime TimeName [get, set]
 
Vector2 Vector2Name [get, set]
 
Vector3 Vector3Name [get, set]
 
Vector4 Vector4Name [get, set]
 
Quaternion QuaternionName [get, set]
 
Ray RayName [get, set]
 
Matrix4x4 MatrixName [get, set]
 
Color ColorName [get, set]
 
GameObject GameObjectName [get, set]
 
string Value [get, set]
 
int IntValue [get, set]
 
short ShortValue [get, set]
 
long LongValue [get, set]
 
byte ByteValue [get, set]
 
sbyte SByteValue [get, set]
 
char CharValue [get, set]
 
uint UIntValue [get, set]
 
ushort UShortValue [get, set]
 
ulong ULongValue [get, set]
 
float FloatValue [get, set]
 
double DoubleValue [get, set]
 
bool BoolValue [get, set]
 
DateTime TimeValue [get, set]
 
Vector2 Vector2Value [get, set]
 
Vector3 Vector3Value [get, set]
 
Vector4 Vector4Value [get, set]
 
Quaternion QuaternionValue [get, set]
 
Ray RayValue [get, set]
 
Matrix4x4 MatrixValue [get, set]
 
Color ColorValue [get, set]
 
GameObject GameObjectValue [get, set]
 
UJeli[] Children [get]
 
string[] ChildNames [get]
 
string[] ChildValues [get]
 
UJeli Parent [get]
 
UJeli this[string name] [get]
 
UJeli this[string name, int index] [get]
 
UJeli this[int index] [get]
 

Detailed Description

Unity version of Jeli markup class.

Definition at line 10 of file UJeli.cs.


The documentation for this class was generated from the following file: