Modema/System core package¶
Library documentation for Modema/System core package.
Workspaces:
Modema:{base-0.90}:
Modema:{internal-0.90}:
Modema:{main}:
Modema:{node-0.90}:
Modema:{system-0.90}:
Modema:{transform-0.90}:
Modema:{wrapper-0.90}:
Modema:{base-0.90}:¶
Library documentation for Modema:{base-0.90}: workspace.
[repr] #Data¶
Base classes:
Modema:{base-0.90}:#Node
Methods:
[mth] createFromString (string value_)
Create content from string type.
value_ : String value.
@return: True if success.
[mth] getAsConstant ()
Get constant string.
[mth] isDefaultValue ()
Test for the raw value is default.
[repr] #Derived¶
Base classes:
Modema:{base-0.90}:#Node
Methods:
[mth] clear ()
Clear all contents.
[repr] #Iterator¶
Base classes:
Modema:{base-0.90}:#Node
Methods:
[mth] clear ()
Clear all contents.
[mth] hasContent ()
Content test.
[mth] next ()
Increment iterator.
[repr] #Native¶
Base classes:
Modema:{base-0.90}:#Node
Methods:
[mth] clear ()
Clear all contents.
[repr] #Nested¶
Base classes:
Modema:{base-0.90}:#Node
Methods:
[mth] clear ()
Clear all contents.
[repr] #Node¶
[repr] #Store¶
Base classes:
Modema:{base-0.90}:#Node
Methods:
[mth] clear ()
Clear all contents.
[mth] empty ()
Content test.
[mth] size ()
Stored element’s count.
[mth] getMonoType ()
Get uniform type if specified.
[repr] Code::#InlineCode¶
Node representation of the code raw code fragment.
Base classes:
Modema:{base-0.90}:#Derived
Members:
dependency: Store::Vector
Dependency list.
language: Data::String
Language name.
rawCode: Data::String
Raw code as string.
Methods:
constructor (string language_, string initCode)
Constructor with code string.
language_ : Code language.
initCode : Code string.
[mth] testLastItemIsReturn ()
Test for last line is a return.
[repr] Code::#Parameter¶
Node representation of the code parameter.
Base classes:
Modema:{base-0.90}:#Derived
Members:
items: Store::Map
Parameter items.
returnItem: Store::Single
Return value container.
Methods:
[mth] add (string parameterName, Node value)
Add a new label with Node value pair.
parameterName : Parameter name.
value : Value for the label.
@return: True if an another label not exists.
[mth] addCopy (string parameterName, Node value)
Add a new label with Node value pair and copy.
parameterName : Parameter name.
value : Value for the label.
@return: True if an another label not exists.
[mth] addNext (Node value)
Add as next label.
value : Node value.
@return: True if success.
[mth] addNextCopy (Node value)
Add as next label. Guest value.
value : Node value.
@return: True if success.
[mth] get (string parameterName, Node node)
Get an exists label’s Node value.
parameterName : Parameter name.
node : Value as node for the label.
@return: True if the label is exist.
[mth] getNode (string parameterName)
Get node if exists.
parameterName : Parameter’s name.
@return: Value as node or null.
[mth] getNode (int32 position, string parameterName)
Get node if exists.
position : Parameter’s position.
parameterName : Parameter’s name.
@return: Value as node or null.
[mth] getReturn (Node value)
Get return value.
value : Return value as node for the label.
@return: True if has result.
[mth] getReturnNode ()
Get return value.
[mth] getParameterTypeString (string parameterName)
Get node type as string.
parameterName : Parameter name.
@return: Value’s type string.
[mth] del (string parameterName)
Delete label.
parameterName : Parameter name.
@return: True if success.
[mth] del (int32 position)
Delete label.
position : Parameter position.
@return: True if success.
[mth] del (int32 position, string parameterName)
Delete label.
position : Parameter position.
parameterName : Parameter name.
@return: True if success.
[mth] copy (string parameterName, Code::Parameter other)
Copy label from other class.
parameterName : Parameter name.
other : Other class.
@return: True if success.
[mth] copy (string parameterName, Code::Parameter other, string parameterName2)
Copy label from other class with new name.
parameterName : Parameter name.
other : Other class.
parameterName2 : New label string.
@return: True if success.
[mth] copy (string source, string dest)
Copy (duplicate) label.
source : Parameter name.
dest : Parameter name.
@return: True if success.
[mth] rename (string source, string dest)
Rename label.
source : Parameter name.
dest : Parameter name.
@return: True if success.
[mth] copyNew (Code::Parameter other)
Copy new labell from other class.
other : Other class.
[mth] insert (int32 position, Node value)
Insert a new label.
position : Label position.
value : Label value.
@return: True if success.
[mth] contains (string parameterName)
Check parameter.
parameterName : Parameter name.
@return: True if the label name is exists.
[mth] contains (int32 position, string parameterName)
position : Parameter position.
parameterName : Parameter name.
@return: True if the label name is exists.
[mth] empty ()
Test for no items.
[mth] size ()
Get size of the store.
[mth] getParameterTypeString ()
Push as Modema/Lang string with type information only.
[repr] Code::#Regex¶
Node representation of the code regular expression.
Base classes:
Modema:{base-0.90}:#Derived
Members:
pattern: Data::String
Regex pattern.
Methods:
constructor (string initPattern)
Constructor with regex string.
initPattern : Regex string.
[mth] isMatch (string input)
Test for the input is matched by regex.
input : Input string.
@return: True if has a full match.
[mth] hasMatch (string input)
Test for the input has a submatch by regex.
input : Input string.
@return: True if has a submatch.
[mth] getFiltered (string input)
Get filtered string by regex.
input : Input string.
@return: Result string.
[mth] replace (string input, string replacement)
Replace string by regex.
input : Input string.
replacement : Replacement string.
@return: Result string.
[mth] getEncodedPattern ()
Get encoded pattern.
[mth] createFromString (string value_)
Create content from string type.
value_ : String value.
@return: True if success.
[repr] Data::#All¶
Node representation of the wildcard data type.
Base classes:
Modema:{base-0.90}:#Data
[repr] Data::#BinaryArray¶
Node representation of the raw binary array data type.
Base classes:
Modema:{base-0.90}:#Data
Methods:
constructor (uint64 arraySize)
Constructor with init values.
arraySize : Size of the array.
[mth] empty ()
Content test.
[mth] size ()
Stored element’s count.
[mth] set8 (uint64 index, uint8 value)
Set 8-bits raw value.
index : Bit position.
value : Raw value.
@return: True if success.
[mth] set16 (uint64 index, uint16 value)
Set 16-bits raw value.
index : Bit position.
value : Raw value.
@return: True if success.
[mth] set32 (uint64 index, uint64 value)
Set 32-bits raw value.
index : Bit position.
value : Raw value.
@return: True if success.
[mth] set64 (uint64 index, uint64 value)
Set 64-bits raw value.
index : Bit position.
value : Raw value.
@return: True if success.
[mth] get8 (uint64 index)
Get 8-bits raw value.
index : Bit position.
@return: Raw value or initialization on soft error.
[mth] get16 (uint64 index)
Get 16-bits raw value.
index : Bit position.
@return: Raw value or initialization on soft error.
[mth] get32 (uint64 index)
Get 32-bits raw value.
index : Bit position.
@return: Raw value or initialization on soft error.
[mth] get64 (uint64 index)
Get 64-bits raw value.
index : Bit position.
@return: Raw value or initialization on soft error.
[mth] getString ()
Get string raw value.
[mth] cut (uint64 start, uint64 length)
Cut part from binary array.
start : Start position.
length : Part’s length.
@return: True if success.
[mth] insert (uint64 idx, Data::BinaryArray other)
Insert part to binary array.
idx : Start position.
other : Input binary array.
@return: True if success.
[mth] fillFromString (string value)
Fill content from string value.
value : String value.
@return: Raw value or initialization on soft error.
[mth] resize (uint64 newSize)
Resize the array.
newSize : New array size.
@return: True if success.
[mth] clear ()
Clear all contents.
[repr] Data::#Bool¶
Node representation of the boolean data type.
Base classes:
Modema:{base-0.90}:#Data
Methods:
constructor (bool value)
Constructor with raw data.
value : Raw data value.
[mth] set (bool value)
Set raw value.
value : Raw value.
@return: True if success.
[mth] get ()
Get raw value.
[mth] clear ()
Clear all contents.
[repr] Data::#Char¶
Node representation of the character data type.
Base classes:
Modema:{base-0.90}:#Data
Methods:
constructor (char value)
Constructor with raw data.
value : Raw data value.
[mth] set (char value)
Set raw value.
value : Raw value.
@return: True if success.
[mth] get ()
Get raw value.
[mth] clear ()
Clear all contents.
[repr] Data::#Complex¶
Node representation of the complex data type data type.
Base classes:
Modema:{base-0.90}:#Data
Methods:
constructor (Raw::Complex value)
Constructor with raw data.
value : Raw data value.
[mth] im ()
Get im part.
[mth] re ()
Get real part.
[mth] set (Raw::Complex value)
Set raw value.
value : Raw value.
@return: True if success.
[mth] get ()
Get raw value.
[mth] clear ()
Clear all contents.
[repr] Data::#Double¶
Node representation of the double floating point (64-bits) data type.
Base classes:
Modema:{base-0.90}:#Data
Methods:
constructor (double value)
Constructor with raw data.
value : Raw data value.
[mth] set (double value)
Set raw value.
value : Raw value.
@return: True if success.
[mth] get ()
Get raw value.
[mth] clear ()
Clear all contents.
[repr] Data::#Float¶
Node representation of the floating point (32-bits) data type.
Base classes:
Modema:{base-0.90}:#Data
Methods:
constructor (float value)
Constructor with raw data.
value : Raw data value.
[mth] set (float value)
Set raw value.
value : Raw value.
@return: True if success.
[mth] get ()
Get raw value.
[mth] clear ()
Clear all contents.
[repr] Data::#FunctionPointer¶
Node representation of the raw pointer data type with type declaration.
Base classes:
Modema:{base-0.90}:#Data
Members:
parameterType: Code::ParameterType
Parameter container.
[repr] Data::#Int16¶
Node representation of the int16 data type.
Base classes:
Modema:{base-0.90}:#Data
Methods:
constructor (int16 value)
Constructor with raw data.
value : Raw data value.
[mth] set (int16 value)
Set raw value.
value : Raw value.
@return: True if success.
[mth] get ()
Get raw value.
[mth] clear ()
Clear all contents.
[repr] Data::#Int32¶
Node representation of the int32 data type.
Base classes:
Modema:{base-0.90}:#Data
Methods:
constructor (int32 value)
Constructor with raw data.
value : Raw data value.
[mth] set (int32 value)
Set raw value.
value : Raw value.
@return: True if success.
[mth] get ()
Get raw value.
[mth] clear ()
Clear all contents.
[repr] Data::#Int64¶
Node representation of the int64 data type.
Base classes:
Modema:{base-0.90}:#Data
Methods:
constructor (int64 value)
Constructor with raw data.
value : Raw data value.
[mth] set (int64 value)
Set raw value.
value : Raw value.
@return: True if success.
[mth] get ()
Get raw value.
[mth] clear ()
Clear all contents.
[repr] Data::#Int8¶
Node representation of the int8 data type.
Base classes:
Modema:{base-0.90}:#Data
Methods:
constructor (int8 value)
Constructor with raw data.
value : Raw data value.
[mth] set (int8 value)
Set raw value.
value : Raw value.
@return: True if success.
[mth] get ()
Get raw value.
[mth] clear ()
Clear all contents.
[repr] Data::#Invalid¶
Node representation of the invalid (error) data type.
Base classes:
Modema:{base-0.90}:#Data
[repr] Data::#LangString¶
Node representation of the translatable string data type.
Base classes:
Modema:{base-0.90}:#Data
Methods:
constructor (string value)
Constructor with raw data.
value : Raw data value.
[mth] append (string value)
Append to the content.
value : Source string.
[mth] append (string value, uint64 len)
Append to the content.
value : Source string.
len : Source length.
[mth] assign (string value)
Assign to the content.
value : Source string.
[mth] assign (string value, uint64 len)
Assign to the content.
value : Source string.
len : Source length.
[mth] set (string value)
Set raw value.
value : Raw value.
@return: True if success.
[mth] get ()
Get raw value.
[mth] npos ()
Get npos.
[mth] empty ()
Test for the string is empty.
[mth] length ()
Length of the string (UTF-8 string’s length).
[mth] size ()
Size of the string.
[mth] substr (uint64 start)
Get sub string.
start : Start position.
@return: Result string.
[mth] substr (uint64 start, uint64 len)
Get sub string.
start : Start position.
len : Lenght of the substring.
@return: Result string.
[mth] find (string value)
Find sub string.
value : Substring.
@return: Result position.
[mth] find (string value, uint64 pos)
Find sub string.
value : Substring.
pos : Starting position.
@return: Result position.
[mth] rfind (string value)
Find sub string from the end.
value : Substring.
@return: Result position.
[mth] rfind (string value, uint64 pos)
Find sub string from the end.
value : Substring.
pos : Starting position.
@return: Result position.
[mth] findFirstOf (string value, uint64 pos)
Find first character from the parameter string.
value : Substring.
pos : Starting position.
@return: Result position.
[mth] findFirstNotOf (string value, uint64 pos)
Find first not matched character from the parameter string.
value : Substring.
pos : Starting position.
@return: Result position.
[mth] findLastOf (string value, uint64 pos)
Find last character from the parameter string.
value : Substring.
pos : Starting position.
@return: Result position.
[mth] findLastNotOf (string value, uint64 pos)
Find last not matched character from the parameter string.
value : Substring.
pos : Starting position.
@return: Result position.
[mth] index (uint64 pos)
Get character by position.
pos : Specified position.
@return: Result character.
[mth] insert (uint64 pos, string value)
Insert substring into a position.
pos : Starting position.
value : Substring.
[mth] insertFill (uint64 pos, uint64 counter, string value)
Insert repeated substring into a position.
pos : Starting position.
counter : Repeat counter.
value : Substring.
[mth] erase (uint64 start, uint64 len)
Erase from the string.
start : Starting position.
len : Lenght of the substring.
[mth] replace (uint64 start, uint64 len, string value)
Replace substring with an another ones.
start : Starting position.
len : Lenght of the substring.
value : Substring.
[mth] replaceCharacter (string where, string what)
Replace a character.
where : Target character.
what : New character.
[mth] compare (uint64 pos, uint64 len, string value)
Compare substrings.
pos : Starting position.
len : Lenght of the substring.
value : Substring.
@return: As std::strcmp(), returns zero if equals.
[mth] appendToSource (string value)
Append content to the parameter string.
value : Source/target C string.
[mth] startsWith (string value)
Test begin of the content string.
value : Source/target C string.
[mth] endsWith (string value)
Test end of the content string.
value : Source/target C string.
[mth] clear ()
Clear all contents.
[mth] getAsInteger ()
Get as innteger value.
[mth] getAsFloat ()
Get as float value.
constructor (string data, string tag)
Constructor with initial values.
data : Content data.
tag : Language tag.
[mth] getTranslated ()
Translate value from the context’s dictionary.
[mth] emptyLangTag ()
Test language tag (short name).
[mth] getLangTag ()
Get language tag (short name).
[mth] setLangTag (string value)
Get language tag (short name).
[repr] Data::#Null¶
Node representation of the null (unused) data type.
Base classes:
Modema:{base-0.90}:#Data
[repr] Data::#Object¶
Node representation of the generic data type (for transformation).
Base classes:
Modema:{base-0.90}:#Data
[repr] Data::#Pointer¶
Node representation of the raw pointer data type with type declaration.
Base classes:
Modema:{base-0.90}:#Data
Members:
cppType: Data::String
Pointer’s C++ type.
Methods:
constructor (voidptr value)
Constructor with raw data.
value : Raw data value.
constructor (void pointer, string cppTypeString)
Constructor with init values.
pointer : Pointer.
cppTypeString : Pointer’s type.
[mth] set (voidptr value)
Set raw value.
value : Raw value.
@return: True if success.
[mth] get ()
Get raw value.
[mth] isNull ()
Test for the pointer is null pointer.
[mth] setCppType (string cppTypeString)
Set pointer’s type.
cppTypeString : Pointer’s type.
[mth] clear ()
Clear all contents.
[repr] Data::#String¶
Node representation of the string data type.
Base classes:
Modema:{base-0.90}:#Data
Methods:
constructor (string value)
Constructor with raw data.
value : Raw data value.
[mth] append (string value)
Append to the content.
value : Source string.
[mth] append (string value, uint64 len)
Append to the content.
value : Source string.
len : Source length.
[mth] assign (string value)
Assign to the content.
value : Source string.
[mth] assign (string value, uint64 len)
Assign to the content.
value : Source string.
len : Source length.
[mth] set (string value)
Set raw value.
value : Raw value.
@return: True if success.
[mth] get ()
Get raw value.
[mth] npos ()
Get npos.
[mth] empty ()
Test for the string is empty.
[mth] length ()
Length of the string (UTF-8 string’s length).
[mth] size ()
Size of the string.
[mth] substr (uint64 start)
Get sub string.
start : Start position.
@return: Result string.
[mth] substr (uint64 start, uint64 len)
Get sub string.
start : Start position.
len : Lenght of the substring.
@return: Result string.
[mth] find (string value)
Find sub string.
value : Substring.
@return: Result position.
[mth] find (string value, uint64 pos)
Find sub string.
value : Substring.
pos : Starting position.
@return: Result position.
[mth] rfind (string value)
Find sub string from the end.
value : Substring.
@return: Result position.
[mth] rfind (string value, uint64 pos)
Find sub string from the end.
value : Substring.
pos : Starting position.
@return: Result position.
[mth] findFirstOf (string value, uint64 pos)
Find first character from the parameter string.
value : Substring.
pos : Starting position.
@return: Result position.
[mth] findFirstNotOf (string value, uint64 pos)
Find first not matched character from the parameter string.
value : Substring.
pos : Starting position.
@return: Result position.
[mth] findLastOf (string value, uint64 pos)
Find last character from the parameter string.
value : Substring.
pos : Starting position.
@return: Result position.
[mth] findLastNotOf (string value, uint64 pos)
Find last not matched character from the parameter string.
value : Substring.
pos : Starting position.
@return: Result position.
[mth] index (uint64 pos)
Get character by position.
pos : Specified position.
@return: Result character.
[mth] insert (uint64 pos, string value)
Insert substring into a position.
pos : Starting position.
value : Substring.
[mth] insertFill (uint64 pos, uint64 counter, string value)
Insert repeated substring into a position.
pos : Starting position.
counter : Repeat counter.
value : Substring.
[mth] erase (uint64 start, uint64 len)
Erase from the string.
start : Starting position.
len : Lenght of the substring.
[mth] replace (uint64 start, uint64 len, string value)
Replace substring with an another ones.
start : Starting position.
len : Lenght of the substring.
value : Substring.
[mth] replaceCharacter (string where, string what)
Replace a character.
where : Target character.
what : New character.
[mth] compare (uint64 pos, uint64 len, string value)
Compare substrings.
pos : Starting position.
len : Lenght of the substring.
value : Substring.
@return: As std::strcmp(), returns zero if equals.
[mth] appendToSource (string value)
Append content to the parameter string.
value : Source/target C string.
[mth] startsWith (string value)
Test begin of the content string.
value : Source/target C string.
[mth] endsWith (string value)
Test end of the content string.
value : Source/target C string.
[mth] clear ()
Clear all contents.
[mth] getAsInteger ()
Get as innteger value.
[mth] getAsFloat ()
Get as float value.
[mth] lowcase ()
Get lowcase string.
[mth] upcase ()
Get upcase string.
[mth] chomp ()
Replace end lines with space characters.
[mth] strip ()
Remove whitespace characters from the start and end.
[mth] lstrip ()
Remove whitespace characters from the start.
[mth] rstrip ()
Remove whitespace characters from the end.
[mth] getLines ()
Get separated lines.
[mth] isMultiLine ()
Test for multiline content.
[repr] Data::#Tristate¶
Node representation of the raw tristate value data type.
Base classes:
Modema:{base-0.90}:#Data
Methods:
constructor (Raw::Tristate value)
Constructor with raw data.
value : Raw data value.
[mth] set (int8 value)
Set raw value.
value : Raw value.
@return: True if success.
[mth] get ()
Get raw value.
[mth] clear ()
Clear all contents.
[repr] Data::#Undefined¶
Node representation of the invalid (error) data type.
Base classes:
Modema:{base-0.90}:#Data
[repr] Data::#UnsignedInt16¶
Node representation of the uint16 data type.
Base classes:
Modema:{base-0.90}:#Data
Methods:
constructor (uint16 value)
Constructor with raw data.
value : Raw data value.
[mth] set (uint16 value)
Set raw value.
value : Raw value.
@return: True if success.
[mth] get ()
Get raw value.
[mth] clear ()
Clear all contents.
[repr] Data::#UnsignedInt32¶
Node representation of the uint32 data type.
Base classes:
Modema:{base-0.90}:#Data
Methods:
constructor (uint32 value)
Constructor with raw data.
value : Raw data value.
[mth] set (uint32 value)
Set raw value.
value : Raw value.
@return: True if success.
[mth] get ()
Get raw value.
[mth] clear ()
Clear all contents.
[repr] Data::#UnsignedInt64¶
Node representation of the uint64 data type.
Base classes:
Modema:{base-0.90}:#Data
Methods:
constructor (uint64 value)
Constructor with raw data.
value : Raw data value.
[mth] set (uint64 value)
Set raw value.
value : Raw value.
@return: True if success.
[mth] get ()
Get raw value.
[mth] clear ()
Clear all contents.
[repr] Data::#UnsignedInt8¶
Node representation of the uint8 data type.
Base classes:
Modema:{base-0.90}:#Data
Methods:
constructor (uint8 value)
Constructor with raw data.
value : Raw data value.
[mth] set (uint8 value)
Set raw value.
value : Raw value.
@return: True if success.
[mth] get ()
Get raw value.
[mth] clear ()
Clear all contents.
[repr] Group::#Enum¶
Node representation of the enumeration declaration.
Base classes:
Modema:{base-0.90}:#Derived
Members:
container: Store::Container
Content container.
element: Data::String
Element name.
Methods:
[mth] set (string value)
Set current/default value.
value : Source value.
@return: True if success.
[mth] get ()
Get current/default value.
[mth] getDefaultValue (string name)
Get default value.
name : Enumeration’s name.
@return: Default value.
[repr] Group::#EnumValue¶
Node representation of the enumeration value declaration.
Base classes:
Modema:{base-0.90}:#Derived
Members:
defaultValue: Store::Single
Value container.
element: Data::String
Element name.
Methods:
constructor (string name)
Constructor with declaration.
name : Class name.
constructor (string name, Node value)
Constructor with declaration.
name : Class name.
value : Default value.
[repr] Store::#BitStore¶
Node representation of the bit store.
Base classes:
Modema:{base-0.90}:#Store
Methods:
constructor (uint64 size)
Constructor with initialization.
idx : Bit index.
[mth] resize (uint64 newSize)
Resize the array.
newSize : New array size.
@return: True if success.
[mth] get (uint64 idx)
Get specified bit.
idx : Bit index.
@return: True if success.
[mth] set (uint64 idx, bool value)
Set specified bit.
idx : Bit index.
value : Bit value.
@return: True if success.
[mth] begin ()
Get «begin» iterator.
[mth] end ()
Get «end» iterator.
[repr] Store::#BitStoreIterator¶
Node representation of the bit store iterator.
Base classes:
Modema:{base-0.90}:#Iterator
Methods:
[mth] get ()
Get node from the iterator.
[mth] getNative ()
Get native node from the iterator.
[repr] Store::#Container¶
Node representation of the abstract group container.
Base classes:
Modema:{base-0.90}:#Store
Methods:
[mth] assign (Node item)
Assign items.
item : Source node.
@return: True if success.
[mth] append (Node item)
Append item to the end.
item : Source node.
@return: True if success.
[mth] getPositionByObjectId (Raw::ID objectID)
Get position by node ID.
objectID : Object ID.
@return: Position number.
[mth] getPositionByNodeId (Raw::ID nodeID)
Get position by data ID.
nodeID : Node ID.
@return: Position number.
[mth] getAsMergedList ()
Get list as merged string.
[mth] insertAfterObjectId (Raw::ID objectID, Node item)
Insert item before node ID.
objectID : Object ID.
item : Source node.
@return: True if success.
[mth] insertBeforeObjectId (Raw::ID objectID, Node item)
Insert item before node ID.
objectID : Object ID.
item : Source node.
@return: True if success.
[mth] insertAfterNodeId (Raw::ID nodeID, Node item)
Insert item after data ID.
nodeID : Node ID from node.
item : Source node.
@return: True if success.
[mth] insertBeforeNodeId (Raw::ID nodeID, Node item)
Insert item before data ID.
nodeID : Node ID from node.
item : Source node.
@return: True if success.
[mth] replaceByObjectId (Raw::ID objectID, Node item)
Replace child by node ID.
objectID : Object ID.
item : Source node.
@return: True if success.
[mth] replaceByNodeId (Raw::ID nodeID, Node item)
Replace child by data ID.
nodeID : Node ID from node.
item : Source node.
@return: True if success.
[mth] removeByObjectId (Raw::ID objectID)
Remove child by node ID.
objectID : Object ID.
@return: True if success.
[mth] removeByNodeId (Raw::ID nodeID)
Remove child by data ID.
nodeID : Node ID from node.
@return: True if success.
constructor (Store::Container source)
Constructor with copy.
source : Source container.
[mth] index (uint64 key)
Context index.
key : Index number.
@return: Referenced node result.
[mth] add (Node item)
Add item.
item : Source item.
[mth] addCopy (Node item)
Add and copy item.
item : Source item.
[mth] addGuest (Node item)
Add item as guest.
item : Source item.
[mth] erase (uint64 key)
Erase item on position.
key : Position number.
@return: True if success.
[mth] back ()
Get last item.
[mth] popBack ()
Pop one item from the back.
[mth] front ()
Get first item.
[mth] insert (uint64 pos, Node item)
Insert item to the position.
pos : Index position.
item : Source item.
@return: True if success.
[mth] insertCopy (uint64 pos, Node item)
Insert and copy item to the position.
pos : Index position.
item : Source item.
@return: True if success.
[mth] insertGuest (uint64 pos, Node item)
Insert item to the position as guest.
pos : Index position.
item : Source item.
@return: True if success.
[mth] swap (uint64 pos1, uint64 pos2)
Swap specific lines.
pos1 : Index position #1.
pos2 : Index position #2.
@return: True if success.
[mth] begin ()
Get «begin» iterator.
[mth] end ()
Get «end» iterator.
[repr] Store::#ContainerIterator¶
Node representation of the abstract group container’s iterator.
Base classes:
Modema:{base-0.90}:#Iterator
Methods:
[mth] get ()
Get node from the iterator.
[repr] Store::#Deque¶
Node representation of the deque store.
Base classes:
Modema:{base-0.90}:#Store
Methods:
[mth] index (uint64 key)
Context index.
key : Index number.
@return: Referenced node result.
[mth] add (Node item)
Add item.
item : Source item.
[mth] pushBack (Node item)
Push item to the back.
item : Source item.
@return: True if success.
[mth] pushFront (Node item)
Push item to the front.
item : Source item.
@return: True if success.
[mth] erase (uint64 key)
Erase item on position.
key : Position key.
@return: True if success.
[mth] back ()
Get last item.
[mth] popBack ()
Pop one item from the back.
[mth] popFront ()
Pop one item from the front.
[mth] front ()
Get first item.
[mth] insert (uint64 pos, Node item)
Insert item to the position.
pos : Index position.
item : Source item.
@return: True if success.
[mth] begin ()
Get «begin» iterator.
[mth] end ()
Get «end» iterator.
[repr] Store::#DequeIterator¶
Node representation of the deque iterator.
Base classes:
Modema:{base-0.90}:#Iterator
Methods:
[mth] get ()
Get node from the iterator.
[repr] Store::#List¶
Node representation of the list store.
Base classes:
Modema:{base-0.90}:#Store
Methods:
constructor (Store::Vector source)
Constructor with vector initialization.
source : Vector source.
[mth] add (Node item)
Add item.
item : Source item.
[mth] append (Node item)
Append content from the source class.
item : Source item.
@return: True if success.
[mth] back ()
Get last item.
[mth] popBack ()
Pop one item from the back.
[mth] pushBack (Node item)
Push item to the back.
item : Source item.
@return: True if success.
[mth] pushBackCopy (Node item)
Push item to the back and copy.
item : Source item.
@return: True if success.
[mth] pushBackGuest (Node item)
Push item to the back as guest.
item : Source item.
@return: True if success.
[mth] front ()
Get first item.
[mth] popFront ()
Pop one item from the front.
[mth] pushFront (Node item)
Push item to the front.
item : Source item.
@return: True if success.
[mth] pushFrontCopy (Node item)
Push item to the front and copy.
item : Source item.
@return: True if success.
[mth] pushFrontGuest (Node item)
Push item to the front as guest.
item : Source item.
@return: True if success.
[mth] erase (uint64 key)
Erase item on position.
key : Position key.
@return: True if success.
[mth] begin ()
Get «begin» iterator.
[mth] end ()
Get «end» iterator.
[repr] Store::#ListIterator¶
Node representation of the list iterator.
Base classes:
Modema:{base-0.90}:#Iterator
Methods:
[mth] get ()
Get node from the iterator.
[repr] Store::#Map¶
Node representation of the map store.
Base classes:
Modema:{base-0.90}:#Store
Methods:
[mth] index (string key)
Index operator method.
key : Index key.
@return: Referenced result node or Data::Null instance.
[mth] add (string key, Node node)
Add a new item.
key : Index key.
node : Source node.
[mth] addCopy (string key, Node node)
Add a new item and copy.
key : Index key.
node : Source node.
[mth] addGuest (string key, Node node)
Add a new item with guest store (no NodeAccess register).
key : Index key.
node : Source node.
[mth] find (string key)
Find by key.
key : Index key.
@return: Result iterator (cloned).
[mth] get (string key)
Get item by key.
key : Index key.
@return: Result item (cloned).
[mth] contains (string key)
Check key.
key : Index key.
@return: True if the key is exists.
[mth] erase (Store::MapIterator iter)
Erase item by iterator.
iter : Iterator points to the target.
[mth] erase (string key)
Erase item by key.
key : Index key.
[mth] rename (string key1, string key2)
Rename a key.
key1 : First index key.
key2 : Second index key.
@return: True if the first key is exists and the second does not.
[mth] begin ()
Get «begin» iterator.
[mth] end ()
Get «end» iterator.
[mth] replaceByObjectId (Raw::ID objectID, Node item)
Replace child by node ID.
objectID : Object ID.
item : Source node.
@return: True if success.
[mth] replaceByNodeId (Raw::ID nodeID, Node item)
Replace child by data ID.
nodeID : Node ID from node.
item : Source node.
@return: True if success.
[mth] removeByObjectId (Raw::ID objectID)
Remove child by node ID.
objectID : Object ID.
@return: True if success.
[mth] removeByNodeId (Raw::ID nodeID)
Remove child by data ID.
nodeID : Node ID from node.
@return: True if success.
[repr] Store::#MapIterator¶
Node representation of the map iterator.
Base classes:
Modema:{base-0.90}:#Iterator
Methods:
[mth] getKey ()
Get key.
[mth] first ()
Get key.
[mth] second ()
Get value.
[mth] get ()
Get node from the iterator.
[repr] Store::#Matrix¶
Node representation of the matrix store.
Base classes:
Modema:{base-0.90}:#Store
Members:
cols: Data::UnsignedInt64
Column number.
rows: Data::UnsignedInt64
Row number.
Methods:
constructor (uint64 rows_, uint64 cols_)
Constructor with initialization.
rows_ : Number of rows.
cols_ : Number of columns.
[mth] resize (uint64 valueX, uint64 valueY)
Resize the matrix.
valueX : Number of rows.
valueY : Number of columns.
[mth] set (uint64 valueX, uint64 valueY, Node value)
Set value.
valueX : Number of rows.
valueY : Number of columns.
value : Node value.
[mth] get (uint64 valueX, uint64 valueY)
Get value.
valueX : Number of rows.
valueY : Number of columns.
@return: Referenced node value.
[mth] nRows ()
Get number of rows.
[mth] nColumns ()
Get number of columns.
[mth] begin ()
Get «begin» iterator.
[mth] end ()
Get «end» iterator.
[repr] Store::#MatrixIterator¶
Node representation of the matrix iterator.
Base classes:
Modema:{base-0.90}:#Iterator
Methods:
[mth] nRows ()
Number of rows.
[mth] nColumns ()
Number of columns.
[mth] row ()
Get current row nuber.
[mth] col ()
Get current column nuber.
[mth] get ()
Get node from the iterator.
[repr] Store::#MultiMap¶
Node representation of the multi-map store.
Base classes:
Modema:{base-0.90}:#Store
Methods:
[mth] add (string key, Node node)
Add a new item.
key : Index key.
node : Source node.
[mth] find (string key)
Find by key.
key : Index key.
@return: Result iterator (cloned).
[mth] get (string key)
Get item by key.
key : Index key.
@return: Result item (cloned).
[mth] contains (string key)
Check key.
key : Index key.
@return: True if the key is exists.
[mth] erase (Store::MultiMapIterator iter)
Erase item by iterator.
iter : Iterator points to the target.
[mth] erase (string key)
Erase item by key.
key : Index key.
[mth] begin ()
Get «begin» iterator.
[mth] end ()
Get «end» iterator.
[repr] Store::#MultiMapIterator¶
Node representation of the multi-map iterator.
Base classes:
Modema:{base-0.90}:#Iterator
Methods:
[mth] getKey ()
Get key.
[mth] first ()
Get key.
[mth] second ()
Get value.
[mth] get ()
Get node from the iterator.
[repr] Store::#MultiSet¶
Node representation of the multi-set store.
Base classes:
Modema:{base-0.90}:#Store
Methods:
[mth] erase (Node item)
Erase item.
item : Node item.
@return: True if success.
[mth] add (Node item)
Add item.
item : Source item.
[mth] insert (Node item)
Insert item.
item : Node item.
@return: True if success.
[mth] begin ()
Get «begin» iterator.
[mth] end ()
Get «end» iterator.
[repr] Store::#MultiSetIterator¶
Node representation of the multi-set iterator.
Base classes:
Modema:{base-0.90}:#Iterator
Methods:
[mth] get ()
Get node from the iterator.
[repr] Store::#NamedContainer¶
Node representation of the named container store.
Base classes:
Modema:{base-0.90}:#Store
Methods:
[mth] assign (Node item)
Assign items.
item : Source node.
@return: True if success.
[mth] append (Node item)
Append item to the end.
item : Source node.
@return: True if success.
[mth] getPositionByObjectId (Raw::ID objectID)
Get position by node ID.
objectID : Object ID.
@return: Position number.
[mth] getPositionByNodeId (Raw::ID nodeID)
Get position by data ID.
nodeID : Node ID.
@return: Position number.
[mth] getAsMergedList ()
Get list as merged string.
[mth] insertAfterObjectId (Raw::ID objectID, Node item)
Insert item before node ID.
objectID : Object ID.
item : Source node.
@return: True if success.
[mth] insertBeforeObjectId (Raw::ID objectID, Node item)
Insert item before node ID.
objectID : Object ID.
item : Source node.
@return: True if success.
[mth] insertAfterNodeId (Raw::ID nodeID, Node item)
Insert item after data ID.
nodeID : Node ID from node.
item : Source node.
@return: True if success.
[mth] insertBeforeNodeId (Raw::ID nodeID, Node item)
Insert item before data ID.
nodeID : Node ID from node.
item : Source node.
@return: True if success.
[mth] replaceByObjectId (Raw::ID objectID, Node item)
Replace child by node ID.
objectID : Object ID.
item : Source node.
@return: True if success.
[mth] replaceByNodeId (Raw::ID nodeID, Node item)
Replace child by data ID.
nodeID : Node ID from node.
item : Source node.
@return: True if success.
[mth] removeByObjectId (Raw::ID objectID)
Remove child by node ID.
objectID : Object ID.
@return: True if success.
[mth] removeByNodeId (Raw::ID nodeID)
Remove child by data ID.
nodeID : Node ID from node.
@return: True if success.
constructor (Store::NamedContainer source)
Constructor with copy.
source : Source container.
[mth] index (uint64 key)
Context index.
key : Index number.
@return: Referenced node result.
[mth] add (Node item)
Add item.
item : Source item.
[mth] addCopy (Node item)
Add and copy item.
item : Source item.
[mth] addGuest (Node item)
Add item as guest.
item : Source item.
[mth] erase (uint64 key)
Erase item on position.
key : Position number.
@return: True if success.
[mth] back ()
Get last item.
[mth] popBack ()
Pop one item from the back.
[mth] front ()
Get first item.
[mth] insert (uint64 pos, Node item)
Insert item to the position.
pos : Index position.
item : Source item.
@return: True if success.
[mth] insertCopy (uint64 pos, Node item)
Insert and copy item to the position.
pos : Index position.
item : Source item.
@return: True if success.
[mth] insertGuest (uint64 pos, Node item)
Insert item to the position as guest.
pos : Index position.
item : Source item.
@return: True if success.
[mth] begin ()
Get «begin» iterator.
[mth] end ()
Get «end» iterator.
[repr] Store::#NamedContainerIterator¶
Node representation of the named container iterator.
Base classes:
Modema:{base-0.90}:#Iterator
Methods:
[mth] get ()
Get node from the iterator.
[repr] Store::#Pair¶
Node representation of the pair store.
Base classes:
Modema:{base-0.90}:#Store
Methods:
[mth] setFirst (Node value)
Set first item.
value : Node value.
@return: True if success.
[mth] setFirstCopy (Node value)
Set first item.
value : Node value.
@return: True if success.
[mth] setFirstGuest (Node value)
Set first item as guest.
value : Node value.
@return: True if success.
[mth] setSecond (Node value)
Set second item.
value : Node value.
@return: True if success.
[mth] setSecondCopy (Node value)
Set second item.
value : Node value.
@return: True if success.
[mth] setSecondGuest (Node value)
Set second item as guest.
value : Node value.
@return: True if success.
[mth] getFirst ()
Get first item.
[mth] getSecond ()
Get second item.
[mth] emptyFirst ()
Get first status.
[mth] emptySecond ()
Get second status.
[mth] replaceByObjectId (Raw::ID objectID, Node item)
Replace child by node ID.
objectID : Object ID.
item : Source node.
@return: True if success.
[mth] replaceByNodeId (Raw::ID nodeID, Node item)
Replace child by data ID.
nodeID : Node ID from node.
item : Source node.
@return: True if success.
[mth] removeByObjectId (Raw::ID objectID)
Remove child by node ID.
objectID : Object ID.
@return: True if success.
[mth] removeByNodeId (Raw::ID nodeID)
Remove child by data ID.
nodeID : Node ID from node.
@return: True if success.
[mth] index (uint64 key)
Context index.
key : Index number.
@return: Referenced node result.
[repr] Store::#Queue¶
Node representation of the queue store.
Base classes:
Modema:{base-0.90}:#Store
Methods:
[mth] add (Node item)
Add item.
item : Node item.
[mth] push (Node item)
Push item.
item : Node item.
[mth] pop ()
Pop last item.
[mth] back ()
Get last item.
[mth] front ()
Get first item.
[repr] Store::#Set¶
Node representation of the set store.
Base classes:
Modema:{base-0.90}:#Store
Methods:
[mth] erase (Node item)
Erase item.
item : Node item.
@return: True if success.
constructor (Store::Vector source)
Constructor with vector initialization.
source : Vector source.
[mth] add (Node item)
Add item.
item : Source item.
[mth] insert (Node item)
Insert item.
item : Node item.
@return: True if success.
[mth] insertCopy (Node item)
Insert item and copy.
item : Node item.
@return: True if success.
[mth] insertGuest (Node item)
Insert item as guest.
item : Node item.
@return: True if success.
[mth] contains (Node item)
Exist item with type check.
item : Node item.
@return: True if success.
[mth] containsValue (Node item)
Exist item with value check.
item : Node item.
@return: True if success.
[mth] begin ()
Get «begin» iterator.
[mth] end ()
Get «end» iterator.
[repr] Store::#SetIterator¶
Node representation of the set iterator.
Base classes:
Modema:{base-0.90}:#Iterator
Methods:
[mth] get ()
Get node from the iterator.
[repr] Store::#Single¶
Node representation of the single store.
Base classes:
Modema:{base-0.90}:#Store
Methods:
[mth] set (Node value)
Set value.
value : Source value.
@return: True if success.
[mth] setCopy (Node value)
Set value and copy.
value : Source value.
@return: True if success.
[mth] setGuest (Node value)
Set value as guest.
value : Source value.
@return: True if success.
[mth] get ()
Get value.
[mth] pushBack (Node item)
Push item to the back.
item : Source item.
@return: True if success.
[mth] pushBackCopy (Node item)
Push item to the back and copy.
item : Source item.
@return: True if success.
[mth] pushBackGuest (Node item)
Push item to the back as guest.
item : Source item.
@return: True if success.
[mth] detach ()
Detach specified element.
[mth] replaceByObjectId (Raw::ID objectID, Node item)
Replace child by node ID.
objectID : Object ID.
item : Source node.
@return: True if success.
[mth] replaceByNodeId (Raw::ID nodeID, Node item)
Replace child by data ID.
nodeID : Node ID from node.
item : Source node.
@return: True if success.
[mth] removeByObjectId (Raw::ID objectID)
Remove child by node ID.
objectID : Object ID.
@return: True if success.
[mth] removeByNodeId (Raw::ID nodeID)
Remove child by data ID.
nodeID : Node ID from node.
@return: True if success.
[mth] index (uint64 key)
Context index.
key : Index number.
@return: Referenced node result.
[repr] Store::#Stack¶
Node representation of the stack store.
Base classes:
Modema:{base-0.90}:#Store
Methods:
[mth] push (Node item)
Push item.
item : Node item.
[mth] pop ()
Pop last item from the stack.
[mth] top ()
Get last item.
[repr] Store::#Triplet¶
Node representation of the triplet store.
Base classes:
Modema:{base-0.90}:#Store
Methods:
[mth] setFirst (Node value)
Set first item.
value : Node value.
@return: True if success.
[mth] setFirstCopy (Node value)
Set first item.
value : Node value.
@return: True if success.
[mth] setFirstGuest (Node value)
Set first item as guest.
value : Node value.
@return: True if success.
[mth] setSecond (Node value)
Set second item.
value : Node value.
@return: True if success.
[mth] setSecondCopy (Node value)
Set second item.
value : Node value.
@return: True if success.
[mth] setSecondGuest (Node value)
Set second item as guest.
value : Node value.
@return: True if success.
[mth] setThird (Node value)
Set third item.
value : Node value.
@return: True if success.
[mth] setThirdCopy (Node value)
Set third item.
value : Node value.
@return: True if success.
[mth] setThirdGuest (Node value)
Set third item as guest.
value : Node value.
@return: True if success.
[mth] getFirst ()
Get first item.
[mth] getSecond ()
Get second item.
[mth] getThird ()
Get third item.
[mth] emptyFirst ()
Get first status.
[mth] emptySecond ()
Get second status.
[mth] emptyThird ()
Get thord status.
[mth] replaceByObjectId (Raw::ID objectID, Node item)
Replace child by node ID.
objectID : Object ID.
item : Source node.
@return: True if success.
[mth] replaceByNodeId (Raw::ID nodeID, Node item)
Replace child by data ID.
nodeID : Node ID from node.
item : Source node.
@return: True if success.
[mth] removeByObjectId (Raw::ID objectID)
Remove child by node ID.
objectID : Object ID.
@return: True if success.
[mth] removeByNodeId (Raw::ID nodeID)
Remove child by data ID.
nodeID : Node ID from node.
@return: True if success.
[mth] index (uint64 key)
Context index.
key : Index number.
@return: Referenced node result.
[repr] Store::#UnorderedMap¶
Node representation of the unordered map store.
Base classes:
Modema:{base-0.90}:#Store
Methods:
[mth] index (string key)
Index operator method.
key : Index key.
@return: Referenced result node or Data::Null instance.
[mth] add (string key, Node node)
Add a new item.
key : Index key.
node : Source node.
[mth] addCopy (string key, Node node)
Add a new item and copy.
key : Index key.
node : Source node.
[mth] addGuest (string key, Node node)
Add a new item with guest store (no NodeAccess register).
key : Index key.
node : Source node.
[mth] find (string key)
Find by key.
key : Index key.
@return: Result iterator (cloned).
[mth] get (string key)
Get item by key.
key : Index key.
@return: Result item (cloned).
[mth] contains (string key)
Check key.
key : Index key.
@return: True if the key is exists.
[mth] erase (Store::UnorderedMapIterator iter)
Erase item by iterator.
iter : Iterator points to the target.
[mth] erase (string key)
Erase item by key.
key : Index key.
[mth] begin ()
Get «begin» iterator.
[mth] end ()
Get «end» iterator.
[repr] Store::#UnorderedMapIterator¶
Node representation of the unordered map iterator.
Base classes:
Modema:{base-0.90}:#Iterator
Methods:
[mth] getKey ()
Get key.
[mth] first ()
Get key.
[mth] second ()
Get value.
[mth] get ()
Get node from the iterator.
[repr] Store::#UnorderedSet¶
Node representation of the unordered set store.
Base classes:
Modema:{base-0.90}:#Store
Methods:
[mth] erase (Node item)
Erase item.
item : Node item.
@return: True if success.
[mth] add (Node item)
Add item.
item : Source item.
[mth] insert (Node item)
Insert item.
item : Node item.
@return: True if success.
[mth] insertCopy (Node item)
Insert item and copy.
item : Node item.
@return: True if success.
[mth] insertGuest (Node item)
Insert item as guest.
item : Node item.
@return: True if success.
[mth] begin ()
Get «begin» iterator.
[mth] end ()
Get «end» iterator.
[repr] Store::#UnorderedSetIterator¶
Node representation of the unordered set iterator.
Base classes:
Modema:{base-0.90}:#Iterator
Methods:
[mth] get ()
Get node from the iterator.
[repr] Store::#Vector¶
Node representation of the vector store.
Base classes:
Modema:{base-0.90}:#Store
Methods:
[mth] assign (Node item)
Assign items.
item : Source node.
@return: True if success.
[mth] append (Node item)
Append item to the end.
item : Source node.
@return: True if success.
[mth] getPositionByObjectId (Raw::ID objectID)
Get position by node ID.
objectID : Object ID.
@return: Position number.
[mth] getPositionByNodeId (Raw::ID nodeID)
Get position by data ID.
nodeID : Node ID.
@return: Position number.
[mth] getAsMergedList ()
Get list as merged string.
[mth] insertAfterObjectId (Raw::ID objectID, Node item)
Insert item before node ID.
objectID : Object ID.
item : Source node.
@return: True if success.
[mth] insertBeforeObjectId (Raw::ID objectID, Node item)
Insert item before node ID.
objectID : Object ID.
item : Source node.
@return: True if success.
[mth] insertAfterNodeId (Raw::ID nodeID, Node item)
Insert item after data ID.
nodeID : Node ID from node.
item : Source node.
@return: True if success.
[mth] insertBeforeNodeId (Raw::ID nodeID, Node item)
Insert item before data ID.
nodeID : Node ID from node.
item : Source node.
@return: True if success.
[mth] replaceByObjectId (Raw::ID objectID, Node item)
Replace child by node ID.
objectID : Object ID.
item : Source node.
@return: True if success.
[mth] replaceByNodeId (Raw::ID nodeID, Node item)
Replace child by data ID.
nodeID : Node ID from node.
item : Source node.
@return: True if success.
[mth] removeByObjectId (Raw::ID objectID)
Remove child by node ID.
objectID : Object ID.
@return: True if success.
[mth] removeByNodeId (Raw::ID nodeID)
Remove child by data ID.
nodeID : Node ID from node.
@return: True if success.
constructor (Store::Vector source)
Constructor with copy.
source : Source vector.
[mth] index (uint64 key)
Context index.
key : Index number.
@return: Referenced node result.
[mth] add (Node item)
Add item.
item : Source item.
[mth] addCopy (Node item)
Add item and copy.
item : Source item.
[mth] addGuest (Node item)
Add item as guest.
item : Source item.
[mth] pushBack (Node item)
Push item to the back.
item : Source item.
@return: True if success.
[mth] pushBackCopy (Node item)
Push item to the back and copy.
item : Source item.
@return: True if success.
[mth] pushBackGuest (Node item)
Push item to the back as guest.
item : Source item.
@return: True if success.
[mth] erase (uint64 key)
Erase item on position.
key : Position key.
@return: True if success.
[mth] erase (Store::VectorIterator iter)
Erase item on position.
iter : Iterator instance.
[mth] eraseRange (uint64 start, uint64 end)
Erase range.
start : Start position key.
end : End position key.
@return: True if success.
[mth] back ()
Get last item.
[mth] popBack ()
Pop one item from the back.
[mth] front ()
Get first item.
[mth] insert (uint64 pos, Node item)
Insert item to the position.
pos : Index position.
item : Source item.
@return: True if success.
[mth] insertCopy (uint64 pos, Node item)
Insert item to the position.
pos : Index position.
item : Source item.
@return: True if success.
[mth] insertGuest (uint64 pos, Node item)
Insert item to the position as guest.
pos : Index position.
item : Source item.
@return: True if success.
[mth] replace (uint64 pos, Node item)
Replace item to the position.
pos : Index position.
item : Source item.
@return: True if success.
[mth] replaceCopy (uint64 pos, Node item)
Replace item to the position.
pos : Index position.
item : Source item.
@return: True if success.
[mth] replaceGuest (uint64 pos, Node item)
Replace item to the position as guest.
pos : Index position.
item : Source item.
@return: True if success.
[mth] swap (uint64 pos1, uint64 pos2)
Swap specific lines.
pos1 : Index position #1.
pos2 : Index position #2.
@return: True if success.
[mth] sort ()
Sort content.
[mth] unique ()
Sort content.
[mth] begin ()
Get «begin» iterator.
[mth] end ()
Get «end» iterator.
[repr] Store::#VectorIterator¶
Node representation of the vector iterator.
Base classes:
Modema:{base-0.90}:#Iterator
Methods:
[mth] get ()
Get node from the iterator.
Modema:{internal-0.90}:¶
Library documentation for Modema:{internal-0.90}: workspace.
[fn] GenerateMethodFromQuery(Query::Main query)¶
Helper function for Query2Method.
query : Input query.
@return: Generated method.
[clss] Query2Method¶
Convert data query to raw method.
Methods:
[mth] generate (Query::Main query)
Generator method.
query : Input query.
@return: Generated method.
[mth] putListCode (Store::Container container, Data::String next, Code::ParameterDeclare declare)
Put foreach loop code for list processing.
[mth] putForCode (Store::Container container, Query::For queryFor, Code::Foreach loop)
Put for loop code for list processing.
[mth] putSelectCode (Store::Container container, Query::Select querySelect, Code::Foreach loop)
Put select code for list processing.
Modema:{main}:¶
Library documentation for Modema:{main}: workspace.
[repr] #CleanTargetResource¶
Target for data cleaning.
Base classes:
#Resource
Members:
generator: Data::String
[repr] #DatabaseResource¶
Resource for basic DBMS data.
Base classes:
#Resource
Members:
connection: Data::String
dataType: Data::String
database: Data::String
dbms: Data::String
password: Data::String
prefix: Data::String
user: Data::String
[repr] #DatasetResource¶
Dataset resource.
Base classes:
#Resource
Members:
url: Data::String
[repr] #DevDocResource¶
Project documentation: developer’s documentation.
Base classes:
#Resource
Members:
generator: Data::String
target: Data::String
type: Data::String
[repr] #DictionaryResource¶
Base classes:
#Resource
Members:
type: Data::String
url: Data::String
[repr] #DocResource¶
Project documentation: generic type.
Base classes:
#Resource
Members:
generator: Data::String
target: Data::String
type: Data::String
[repr] #DynamicFileResource¶
Dynamic target for files.
Base classes:
#Resource
Members:
dependency: Store::Vector
files: Store::Vector
generator: Data::String
[repr] #DynamicFunctionResource¶
Base classes:
#Resource
Members:
generator: Data::String
grammarType: Data::String
queryType: Data::String
resultType: Data::String
[repr] #DynamicMethodResource¶
Base classes:
#Resource
Members:
generator: Data::String
grammarType: Data::String
queryType: Data::String
resultType: Data::String
[repr] #DynamicResource¶
Basic dynamic target.
Base classes:
#Resource
Members:
dependency: Store::Vector
generator: Data::String
[repr] #DynamicTargetResource¶
Dynamic target for execution.
Base classes:
#Resource
Members:
dependency: Store::Vector
generator: Data::String
[repr] #EventTargetResource¶
Target with event support.
Base classes:
#Resource
Members:
generator: Data::String
[repr] #ExternalFileResource¶
Generic external file list resource.
Base classes:
#Resource
Members:
authors: Store::Vector
files: Store::Vector
license: Data::String
license_url: Data::String
url: Data::String
[repr] #FileListResource¶
Generic file list resource.
Base classes:
#Resource
Members:
path: Store::Vector
[repr] #FileResource¶
Generic file resource.
Base classes:
#Resource
Members:
path: Data::String
[repr] #FormFieldResource¶
Generic form field resource.
Base classes:
#Resource
Members:
dataType: Data::String
formType: Data::String
value: Data::String
[repr] #FormGroupResource¶
Generic form group resource.
Base classes:
#Resource
[repr] #GroupResource¶
Generic group resource.
Base classes:
#Resource
Members:
dependency: Store::Container
[repr] #OpenedFileListResource¶
Base classes:
#DynamicResource
Members:
references: Store::Vector
Methods:
[mth] onStore ()
[mth] onUpdate ()
[repr] #OpenedFileResource¶
Base classes:
#DynamicResource
Members:
reference: Data::String
Methods:
[mth] onStore ()
[mth] onUpdate ()
[repr] #OperationResource¶
Generic operation resource.
Base classes:
#Resource
Members:
operation: Data::String
reference: Data::String
[repr] #PackageResource¶
Project’s loadable package resource.
Base classes:
#Resource
Members:
dso_input: Store::Vector
dso_name: Data::String
exportContent: Store::Vector
module_register: Data::String
optional: Store::Vector
package_name: Data::String
provides: Store::Vector
requires: Store::Vector
sources: Store::Vector
[repr] #PathListResource¶
Generic path list resource.
Base classes:
#Resource
Members:
path: Store::Vector
[repr] #PathResource¶
Generic path resource.
Base classes:
#Resource
Members:
path: Data::String
[repr] #ProjectBugTrackerResource¶
Project’s bug tracker (ticketing) resource.
Base classes:
#Resource
Members:
url: Data::String
[repr] #ProjectChangeLogResource¶
Project’s change log resource.
Base classes:
#Resource
Members:
url: Data::String
[repr] #ProjectDatafile¶
Project’s data file resource.
Base classes:
#Resource
Members:
path: Data::String
type: Data::String
[repr] #ProjectKindResource¶
Project kind resource.
Base classes:
#Resource
Members:
type: Data::String
[repr] #ProjectLicenseResource¶
Project’s license resource.
Base classes:
#Resource
Members:
license: Data::String
url: Data::String
years: Data::String
[repr] #ProjectRepositoryResource¶
Project’s repository resource.
Base classes:
#Resource
Members:
path: Data::String
type: Data::String
[repr] #ProjectSubsystemResource¶
Project’s subsystem resource.
Base classes:
#Resource
Members:
targets: Store::Vector
[repr] #ProjectTaskListResource¶
Project’s task list (TODO) resource.
Base classes:
#Resource
Members:
url: Data::String
[repr] #ProjectTypeResource¶
Project type resource.
Base classes:
#Resource
Members:
type: Data::String
[repr] #ProjectVersionResource¶
Project’s version resource.
Base classes:
#Resource
Members:
version: Data::String
versionType: Data::String
[repr] #ReferenceResource¶
Reference resource.
Base classes:
#Resource
Members:
reference: Data::String
[repr] #RepositoryResource¶
Generic repository resource.
Base classes:
#Resource
Members:
url: Data::String
[repr] #Resource¶
Base of the resources.
Members:
description: Data::String
name: Data::String
Methods:
[mth] onLoad ()
[mth] onStore ()
[mth] onUpdate ()
[mth] onClose ()
[repr] #ResourceRepositoryResource¶
Generic resource repository resource.
Base classes:
#Resource
Members:
url: Data::String
[repr] #ResourceStore¶
Base classes:
#Resource
Members:
references: Store::Vector
[repr] #ServiceResource¶
Generic service component resource.
Base classes:
#Resource
Members:
serviceName: Data::String
serviceType: Data::String
transformResource: Data::String
[repr] #SoftwareVersionResource¶
Base classes:
#Resource
Members:
target: Data::String
version: Data::String
[repr] #TargetGroupResource¶
Generic target group resource.
Base classes:
#Resource
Members:
target: Data::String
[repr] #TargetResource¶
Generic target for execution.
Base classes:
#Resource
Members:
generator: Data::String
[repr] #TestTargetResource¶
Target for testing.
Base classes:
#Resource
Members:
generator: Data::String
[repr] #TransformResource¶
Generic AST transform resource.
Base classes:
#Resource
Members:
generator: Data::String
options: Data::String
source: Data::String
sourceList: Store::Vector
target: Data::String
targetList: Store::Vector
[repr] #TranslationResource¶
Base classes:
#Resource
Members:
url: Data::String
[repr] #UserDocResource¶
Project documentation: user type.
Base classes:
#Resource
Members:
generator: Data::String
target: Data::String
type: Data::String
[repr] #VersionGroupResource¶
Generic version group resource.
Base classes:
#Resource
Members:
version: Data::String
[repr] #ViewTargetResource¶
Base classes:
#Resource
Members:
dependency: Store::Vector
generator: Data::String
[repr] #WebNewsResource¶
Generic web news resource.
Base classes:
#Resource
Members:
content: Data::String
url: Data::String
[repr] #WebPageResource¶
Generic web page resource.
Base classes:
#Resource
Members:
url: Data::String
[repr] #WikiResource¶
Project documentation: Wikipedia type.
Base classes:
#Resource
Members:
generator: Data::String
target: Data::String
type: Data::String
[repr] #WorkspaceVersionResource¶
Base classes:
#Resource
Members:
target: Data::String
version: Data::String
[res] ModemaVersion¶
[fn] StoreUnit(System::Repository repository, Group::Unit unit)¶
Store unit and children to repository.
repository : Target repository.
unit : Input content.
[repr] Value::#Date¶
Date value representation.
Members:
day: Data::UnsignedInt8
month: Data::UnsignedInt8
year: Data::UnsignedInt16
[repr] Value::#DateTime¶
Date and time value representation.
[repr] Value::#Infinity¶
Infinity representation.
[repr] Value::#Interval¶
Interval representation.
Members:
from: Data::Int32
to: Data::Int32
Methods:
[mth] setRange (Data::Int32 n1, Data::Int32 n2)
Set range.
[mth] isInRange (Data::Int32 value)
Range test.
[mth] getAsString ()
String conversion.
[repr] Value::#Time¶
Time value representation.
Members:
time: Data::UnsignedInt32
Methods:
[mth] getHours ()
[mth] getMinutes ()
[mth] getSeconds ()
[mth] setTime (Data::UnsignedInt32 hours, Data::UnsignedInt32 minutes, Data::UnsignedInt32 seconds)
[res] WorkspaceVersion¶
Modema:{node-0.90}:¶
Library documentation for Modema:{node-0.90}: workspace.
[repr] Code::#Assert¶
Node representation of the code assertion.
Base classes:
Modema:{base-0.90}:#Derived
Members:
content: Store::Single
Expression container.
errorMessage: Data::String
Error message.
[repr] Code::#BinaryOperator¶
Binary operator handler node.
This class represents and handles raw code operators.
Base classes:
Modema:{base-0.90}:#Derived
Members:
operand: Store::Pair
Operand container.
operatorType: Data::Int32
Operator type.
Methods:
constructor (string mnemonic, Node param1, Node param2)
Constructor with initialization.
mnemonic : Type mnemonic.
param1 : First item.
param2 : Second item.
[mth] empty ()
Test for content.
[mth] setOperatorTypeFromMnemonic (string mnemonic)
Set OperatorType member from a mnemonic.
mnemonic : Mnemonic token or LangCore::OperatorType string.
@return: True if success.
[mth] getAdditionList ()
Get addition items or return a null pointer.
[mth] add (Node node)
Add an item to the operands store.
node : Operand node.
@return: True if success.
[mth] isLeftValue ()
Test for the operator has left value (the operator type is an assign).
[mth] getOperatorMnemonic ()
Get operator type as string.
[mth] set (string mnemonic, Node param1, Node param2)
Set content.
mnemonic : Type mnemonic.
param1 : First item.
param2 : Second item.
[repr] Code::#Block¶
Node representation of the code block.
Base classes:
Modema:{base-0.90}:#Derived
Members:
container: Store::Container
Content container.
Methods:
[mth] findVariable (string variableName)
Find variable in content.
variableName : Variable name.
@return: Matched Code::VariableDeclare cloned node or null pointer.
[mth] empty ()
Test for the content is empty.
[mth] getLastStatement ()
Get last statement node.
[mth] addBottom (Code::Block source)
Add elements to the bottom from an other Code::Block node.
source : Source node.
@return: True if success.
[mth] addTop (Code::Block source)
Add elements to the top from an other Code::Block node.
source : Source node.
@return: True if success.
[repr] Code::#Break¶
Node representation of the code break.
Base classes:
Modema:{base-0.90}:#Derived
[repr] Code::#Call¶
Node representation of the code method/function call.
Base classes:
Modema:{base-0.90}:#Derived
Members:
linkName: Data::String
Call fragment name.
parameter: Code::Parameter
Call parameter.
Methods:
constructor (string linkString)
Constructor with string fragment name.
linkString : String fragment name.
constructor (string linkString, Node param1)
Constructor with call item.
linkString : Call link name.
param1 : First parameter.
constructor (string linkString, Node param1, Node param2)
Constructor with call item.
linkString : Call link name.
param1 : First parameter.
param2 : Second parameter.
constructor (string linkString, Node param1, Node param2, Node param3)
Constructor with call item.
linkString : Call link name.
param1 : First parameter.
param2 : Second parameter.
param3 : Third parameter.
constructor (string linkString, Node param1, Node param2, Node param3, Node param4)
Constructor with call item.
linkString : Call link name.
param1 : First parameter.
param2 : Second parameter.
param3 : Third parameter.
param4 : Fourth parameter.
[repr] Code::#CallTemplate¶
Node representation of the code method/function call with template parameters.
Base classes:
Modema:{base-0.90}:#Derived
Members:
linkName: Data::String
Call fragment name.
parameter: Code::Parameter
Call parameter.
templateParameter: Code::TemplateParameter
Template definition container.
Methods:
constructor (string linkString)
Constructor with string fragment name.
linkString : String fragment name.
constructor (string linkString, Node param1)
Constructor with call item.
linkString : Call link name.
param1 : First parameter.
constructor (string linkString, Node param1, Node param2)
Constructor with call item.
linkString : Call link name.
param1 : First parameter.
param2 : Second parameter.
constructor (string linkString, Node param1, Node param2, Node param3)
Constructor with call item.
linkString : Call link name.
param1 : First parameter.
param2 : Second parameter.
param3 : Third parameter.
constructor (string linkString, Node param1, Node param2, Node param3, Node param4)
Constructor with call item.
linkString : Call link name.
param1 : First parameter.
param2 : Second parameter.
param3 : Third parameter.
param4 : Fourth parameter.
[repr] Code::#Case¶
Node representation of the code case statement.
Base classes:
Modema:{base-0.90}:#Derived
Members:
caseName: Data::String
Cast name or value.
code: Code::Block
Code block.
[repr] Code::#CaseDefault¶
Node representation of the code case default statement.
Base classes:
Modema:{base-0.90}:#Derived
Members:
code: Code::Block
Code block.
[repr] Code::#CaseGroup¶
Node representation of the code case group statement.
Base classes:
Modema:{base-0.90}:#Derived
Members:
caseNames: Store::Vector
Key name.
code: Code::Block
Code block.
[repr] Code::#Catch¶
Node representation of the code catch statement.
Base classes:
Modema:{base-0.90}:#Derived
Members:
code: Code::Block
Code block.
parameterType: Code::ParameterType
Parameter type definition container.
[repr] Code::#Comment¶
Node representation of the code comment.
Base classes:
Modema:{base-0.90}:#Derived
Members:
lang: Data::String
Language name.
text: Data::String
Comment text.
Methods:
constructor (string initText)
Constructor with raw string comment.
initText : String comment.
[repr] Code::#ConstantList¶
Node representation of the code constant list for checking.
Base classes:
Modema:{base-0.90}:#Derived
Members:
container: Store::Container
Content container.
monotype: Data::String
Generic type.
Methods:
[mth] isMatch (string item)
Test for matching constant list.
item : Testable raw string.
@return: True if has a match.
[mth] createFromString (string value_)
Create content from string type.
value_ : String value.
@return: True if success.
[repr] Code::#Continue¶
Node representation of the code continue statement.
Base classes:
Modema:{base-0.90}:#Derived
[repr] Code::#Conversion¶
Node representation of the code type conversion.
Base classes:
Modema:{base-0.90}:#Derived
Members:
content: Store::Single
Content container.
typeString: Data::String
Casting type.
[repr] Code::#DataSerialize¶
Node representation of the node data set.
Base classes:
Modema:{base-0.90}:#Derived
Members:
dataSerialize: Data::String
Raw data serialized string.
Methods:
constructor (string initCode)
Constructor with code string.
initCode : Code string.
[mth] parse ()
Parse content.
[repr] Code::#Else¶
Node representation of the code else statement.
Base classes:
Modema:{base-0.90}:#Derived
Members:
code: Code::Block
Code block.
[repr] Code::#Exception¶
Node representation of the code exception.
Base classes:
Modema:{base-0.90}:#Derived
Members:
container: Store::Container
Content container.
message: Data::String
Exception reason.
[repr] Code::#Expression¶
Node representation of the code operator expression.
Base classes:
Modema:{base-0.90}:#Derived
Members:
content: Store::Single
Content container.
Methods:
constructor (string mnemonic, Node param1)
Constructor with initialization.
mnemonic : Type mnemonic.
param1 : First item.
constructor (string mnemonic, Node param1, Node param2)
Constructor with initialization.
mnemonic : Type mnemonic.
param1 : First item.
param2 : Second item.
constructor (string mnemonic, Node param1, Node param2, Node param3)
Constructor with initialization.
mnemonic : Type mnemonic.
param1 : First item.
param2 : Second item.
param3 : Third item.
[mth] addOperation (Node operatorNode)
Add child operation.
operatorNode : Operand node.
[mth] set (string mnemonic, Node param1)
Set content.
mnemonic : Type mnemonic.
param1 : First item.
[mth] set (string mnemonic, Node param1, Node param2)
Set content.
mnemonic : Type mnemonic.
param1 : First item.
param2 : Second item.
[mth] set (string mnemonic, Node param1, Node param2, Node param3)
Set content.
mnemonic : Type mnemonic.
param1 : First item.
param2 : Second item.
param3 : Third item.
[repr] Code::#For¶
Node representation of the code for statement.
Base classes:
Modema:{base-0.90}:#Derived
Members:
code: Code::Block
Code block.
exitExpression: Code::Expression
Exit expression.
initExpression: Code::Expression
Initial expression.
iteratorType: Code::Type
Iterator type.
stepExpression: Code::Expression
Step expression.
[repr] Code::#Foreach¶
Node representation of the code foreach statement.
Base classes:
Modema:{base-0.90}:#Derived
Members:
array: Code::Link
Array link.
code: Code::Block
Code block.
iteratorType: Code::Type
Iterator type.
variableName: Data::String
Variable name.
[repr] Code::#If¶
Node representation of the code if statement.
Base classes:
Modema:{base-0.90}:#Derived
Members:
chain: Store::Vector
If/else chain container.
code: Code::Block
Code block.
elseBranch: Store::Single
expression: Code::Expression
Conditional expression.
[repr] Code::#IfElse¶
Node representation of the code if/else stamenet.
Base classes:
Modema:{base-0.90}:#Derived
Members:
code: Code::Block
Code block.
expression: Code::Expression
Conditional expression.
[repr] Code::#Index¶
Node representation of the code index call.
Base classes:
Modema:{base-0.90}:#Derived
Members:
value: Store::Single
Value container.
Methods:
constructor (Node defaultValue)
Constructor with declaration.
defaultValue : Default value.
[repr] Code::#Inline¶
Node representation of the code inline.
Base classes:
Modema:{base-0.90}:#Derived
Members:
container: Store::Container
Content container.
inlineName: Data::String
Name of the inline content.
Methods:
[mth] findVariable (string variableName)
Find variable in content.
variableName : Variable name.
@return: Matched Code::VariableDeclare cloned node or null pointer.
[mth] empty ()
Test for the content is empty.
[mth] getLastStatement ()
Get last statement node.
constructor (string defaultName)
Constructor with first item.
defaultName : First item.
[repr] Code::#Lambda¶
Node representation of the code lambda closure.
Base classes:
Modema:{base-0.90}:#Derived
Members:
captures: Code::ParameterType
Capture parameter type container.
code: Code::Block
Code block.
parameterType: Code::ParameterType
Parameter type definition container.
returnType: Store::Single
Return type container.
templateParameter: Code::TemplateParameter
Template parameter type container.
Methods:
[mth] getTypeSignatureWithName ()
Get name with type informations.
[mth] getTypeSignatureWithFullName ()
Get name with full length type informations.
[mth] getTypeSignatureWithExtendedName ()
Get name with full length type informations with return.
[mth] addReturnType (string type)
Add return type string.
type : Return type string.
[mth] getReturnTypeString ()
Get return type.
[mth] isReturnTypeVoid ()
Test return type.
[repr] Code::#LambdaType¶
Node representation of the code lambda type signature.
Base classes:
Modema:{base-0.90}:#Derived
Members:
functionName: Data::String
Lambda type name.
parameterType: Code::ParameterType
Parameter container.
returnType: Store::Single
Return type container.
Methods:
[mth] getReturnTypeString ()
Get return type.
[repr] Code::#Link¶
Node representation of the code link.
Base classes:
Modema:{base-0.90}:#Derived
Members:
container: Store::Container
Content container.
Methods:
constructor (Data::String linkName)
Constructor with first item.
linkName : First item.
constructor (Code::Call callChild)
Constructor with a call child.
callChild : Child call.
constructor (Transform::PositionVariable callChild)
Constructor with a call child.
callChild : Child call.
constructor (Node param1, Node param2)
Constructor with call item.
param1 : First parameter.
param2 : Second parameter.
constructor (Node param1, Node param2, Node param3)
Constructor with call item.
param1 : First parameter.
param2 : Second parameter.
param3 : Third parameter.
constructor (Node param1, Node param2, Node param3, Node param4)
Constructor with call item.
param1 : First parameter.
param2 : Second parameter.
param3 : Third parameter.
param4 : Fourth parameter.
[mth] createFromString (string path)
Create link content from string.
path : String item.
[mth] add (Node node)
Add next node.
node : Next item.
[mth] isRightValue ()
Test right value position in parent operator node.
[mth] isLeftValue ()
Test left value position in parent operator node.
[mth] isStandalone ()
Test this link is standalone.
[mth] isComplexRightValue ()
Test right value position in parent operator node.
[mth] isComplexLeftValue ()
Test left value position in parent operator node.
[mth] isComplexLink ()
Test this link is standalone.
[mth] getLastItem ()
Get last item as string.
[mth] getItemByIndex (uint64 idx)
Get specified item as string.
idx : Index number.
@return: Specified item as string.
[mth] getTypedItemByIndex (uint64 idx)
Get specified item with type informations as string.
idx : Index number.
@return: Specified item with type informations as string.
[mth] getLongName ()
Get items as string.
[mth] getShortName ()
Get short version of the items as string.
[mth] getItemsStartedFromSecond ()
Get longname except the first item.
[mth] isMeta ()
Test last item as meta call.
[mth] empty ()
Test for no items.
[repr] Code::#LinkMember¶
Node representation of the link’s member.
Base classes:
Modema:{base-0.90}:#Derived
Members:
member: Data::String
Member fragment name.
Methods:
constructor (Data::String memberName)
Constructor with first item.
memberName : Initial member name.
[repr] Code::#MultiOperator¶
Operator handler node.
This class represents and handles raw code operators.
Base classes:
Modema:{base-0.90}:#Derived
Members:
operands: Store::Container
Content container.
operatorType: Data::Int32
Operator type.
Methods:
constructor (string mnemonic, Node param1, Node param2)
Constructor with initialization.
mnemonic : Type mnemonic.
param1 : First item.
param2 : Second item.
constructor (string mnemonic, Node param1, Node param2, Node param3)
Constructor with initialization.
mnemonic : Type mnemonic.
param1 : First item.
param2 : Second item.
param3 : third item.
[mth] empty ()
[mth] setOperatorTypeFromMnemonic (string mnemonic)
Set OperatorType member from a mnemonic.
mnemonic : Mnemonic token or LangCore::OperatorType string.
@return: True if success.
[mth] getAdditionList ()
Get addition items or return a null pointer.
[mth] add (Node node)
Add an item to the operands store.
node : Operand node.
@return: True if success.
[mth] getOperatorMnemonic ()
Get operator type as string.
[mth] set (string mnemonic, Node param1, Node param2)
Set content.
mnemonic : Type mnemonic.
param1 : First item.
param2 : Second item.
[repr] Code::#ParameterDeclare¶
Node representation of the code parameter type declare.
Base classes:
Modema:{base-0.90}:#Derived
Members:
value: Store::Single
Value container.
variableName: Data::String
Variable name.
variableType: Code::Type
Variable type.
Methods:
constructor (string initType, string initName)
Constructor with declaration.
initType : Variable type string.
initName : Variable name string.
constructor (string initType, string initName, Node defaultValue)
Constructor with declaration.
initType : Variable type string.
initName : Variable name string.
defaultValue : Default value.
[mth] addVariableType (string initType, string initName)
Add variable type.
initType : Variable type string.
initName : Variable name string.
@return: True if success.
[mth] addVariableTypeValue (string initType, string initName, Node node)
Add variable type with value.
initType : Variable type string.
initName : Variable name string.
node : Value for initialization.
@return: True if success.
[repr] Code::#ParameterType¶
Node representation of the code parameter type.
Base classes:
Modema:{base-0.90}:#Derived
Members:
container: Store::Container
Content container.
Methods:
[mth] contains (string parameterName)
Check parameter name.
parameterName : Label name.
@return: True if the parameter name is exists.
[mth] empty ()
Test for no items.
[mth] get (string parameterName, string value)
Get parameter’s type.
parameterName : Parameter name.
value : Parameter type.
@return: True if the parameter name is exists.
[mth] parameterAsString ()
Get parameters (name and type) string.
[repr] Code::#Path¶
Node representation of the node path.
Base classes:
Modema:{base-0.90}:#Derived
Members:
container: Store::Container
Content container.
root: Data::Bool
Root flag.
value: Data::String
Path value.
Methods:
constructor (string query)
Constructor with query.
query : Query string.
[mth] parse ()
Parse content query.
[mth] empty ()
Test for no items.
[mth] isBasicPath ()
Test for basic version: contains only one type match rule.
[mth] getFirstType ()
Get first item.
[mth] getTypesExceptFirst ()
Get all types except the first.
[mth] getLastType ()
Get last item.
[mth] createFromString (string value_)
Create content from string type.
value_ : String value.
@return: True if success.
[repr] Code::#PathItem¶
Node representation of the node path item.
Base classes:
Modema:{base-0.90}:#Derived
Members:
itemName: Data::String
Path item name.
items: Store::Map
Path item’s values.
[repr] Code::#Return¶
Node representation of the code return statement.
Base classes:
Modema:{base-0.90}:#Derived
Members:
value: Store::Single
Value container.
Methods:
constructor (Node value_)
Constructor with return value.
value_ : Return value.
[repr] Code::#Separator¶
Node representation of the code separator space.
Base classes:
Modema:{base-0.90}:#Derived
[repr] Code::#StringFormat¶
Node representation of the foting format with parameters.
Base classes:
Modema:{base-0.90}:#Derived
Members:
container: Store::Container
Content container.
string: Store::Single
String data container.
[repr] Code::#Switch¶
Node representation of the code switch statement.
Base classes:
Modema:{base-0.90}:#Derived
Members:
container: Store::Container
Content container.
expression: Code::Expression
Conditional expression.
[repr] Code::#TemplateParameter¶
Node representation of the template parameter types.
Base classes:
Modema:{base-0.90}:#Derived
Members:
container: Store::Container
Content container.
Methods:
[mth] setFromString (string typeString)
Set type from string.
typeString : C++ type string.
[mth] getFirstItem ()
Get first item.
[mth] getSecondItem ()
Get second item.
[mth] getNested ()
Get nested version.
[repr] Code::#Throw¶
Node representation of the code throw statement.
Base classes:
Modema:{base-0.90}:#Derived
Members:
item: Store::Single
Value container.
[repr] Code::#Try¶
Node representation of the code try statement.
Base classes:
Modema:{base-0.90}:#Derived
Members:
code: Code::Block
Code block.
container: Store::Container
Content container.
[repr] Code::#Type¶
Node representation of the code type declaration.
Base classes:
Modema:{base-0.90}:#Derived
Members:
subTypes: Code::TemplateParameter
Subtype container.
typeString: Data::String
Type string.
Methods:
constructor (string initType)
Constructor with type string.
initType : C++ type string.
[mth] empty ()
Test for no items.
[mth] getAsString ()
Get string from node.
[mth] setFromString (string initType)
Set type from string.
initType : C++ type string.
[repr] Code::#UnaryOperator¶
Operator handler node.
This class represents and handles raw code operators.
Base classes:
Modema:{base-0.90}:#Derived
Members:
operand: Store::Single
Content container.
operatorType: Data::Int32
Operator type.
Methods:
constructor (string mnemonic, Node param1)
Constructor with initialization.
mnemonic : Type mnemonic.
param1 : First item.
[mth] empty ()
[mth] setOperatorTypeFromMnemonic (string mnemonic)
Set OperatorType member from a mnemonic.
mnemonic : Mnemonic token or LangCore::OperatorType string.
@return: True if success.
[mth] add (Node node)
Add an item to the operands store.
node : Operand node.
@return: True if success.
[mth] getOperatorMnemonic ()
Get operator type as string.
[mth] set (string mnemonic, Node param1)
Set content.
mnemonic : Type mnemonic.
param1 : First item.
[repr] Code::#Until¶
Node representation of the code until statement.
Base classes:
Modema:{base-0.90}:#Derived
Members:
code: Code::Block
Code block.
expression: Code::Expression
Loop expression.
[repr] Code::#VariableDeclare¶
Node representation of the code variable declare.
Base classes:
Modema:{base-0.90}:#Derived
Members:
initParameters: Code::Parameter
Initial parameters.
isRefer: Data::Bool
Refer status flag.
needAllocate: Data::Bool
Allocate status flag.
needDeclare: Data::Bool
Declare status flag.
value: Store::Single
Value container.
variableName: Data::String
Variable name.
variableType: Code::Type
Variable type.
Methods:
constructor (string initType, string initName)
Constructor with declaration.
initType : Variable type string.
initName : Variable name string.
constructor (string initType, string initName, Node defaultValue)
Constructor with declaration.
initType : Variable type string.
initName : Variable name string.
defaultValue : Default value.
[mth] addVariableType (string initType, string initName)
Add variable type.
initType : Variable type string.
initName : Variable name string.
@return: True if success.
[mth] addVariableTypeValue (string initType, string initName, Node node)
Add variable type with value.
initType : Variable type string.
initName : Variable name string.
node : Value for initialization.
@return: True if success.
[repr] Code::#VariableDeclareList¶
Node representation of the code variable declare list.
Base classes:
Modema:{base-0.90}:#Derived
Members:
declarations: Store::Container
Variable declaration container.
[repr] Code::#Variables¶
Node representation of the class» variable declarations.
Base classes:
Modema:{base-0.90}:#Derived
Members:
items: Store::Map
Variable declaration container.
Methods:
[mth] add (Code::Variables source)
Add declarations from an another store.
source : Other store.
@return: True if no collision.
[mth] addVariable (string variableType, string variableName)
Add a new variable declaration.
variableType : Variable type.
variableName : Variable name.
@return: True if no collision.
[mth] addVariable (Code::VariableDeclare variableDeclare)
Add a new variable declaration.
variableDeclare : Variable declare object.
@return: True if no collision.
[mth] addDynamicVariable (string variableType, string variableName)
Add a new dynamic variable declaration.
variableType : Variable type.
variableName : Variable name.
@return: True if no collision.
[repr] Code::#While¶
Node representation of the code while statement.
Base classes:
Modema:{base-0.90}:#Derived
Members:
code: Code::Block
Code block.
expression: Code::Expression
Loop expression.
[repr] Group::#BaseClassType¶
Node representation of the base class declaration.
Base classes:
Modema:{base-0.90}:#Derived
Members:
className: Data::String
Class name.
Methods:
constructor (string name)
Constructor with declaration.
name : Class name.
[repr] Group::#Class¶
Node representation of the class declaration.
Base classes:
Modema:{base-0.90}:#Derived
Members:
container: Store::Container
Content container.
superClasses: Store::Vector
Definitions of the super classes.
variables: Code::Variables
Variable container.
Methods:
[mth] hasSuperClass ()
Test for the class has superclasses.
[mth] getSuperClassName (uint64 num)
Get name of the indexed superclass.
num : Index number.
@return: Name of the indexed superclass.
[repr] Group::#Constructor¶
Node representation of the class constructor declaration.
Base classes:
Modema:{base-0.90}:#Derived
Members:
code: Code::Block
Code block.
parameterType: Code::ParameterType
Parameter container.
Methods:
[mth] getTypeSignatureWithName ()
Get name with type informations.
[mth] getTypeSignatureWithFullName ()
Get name with full length type informations.
[mth] getTypeSignatureWithExtendedName ()
Get name with full length type informations with return.
[repr] Group::#Destructor¶
Node representation of the class destructor declaration.
Base classes:
Modema:{base-0.90}:#Derived
Members:
code: Code::Block
Code block.
Methods:
[mth] getTypeSignatureWithName ()
Get name with type informations.
[mth] getTypeSignatureWithFullName ()
Get name with full length type informations.
[mth] getTypeSignatureWithExtendedName ()
Get name with full length type informations with return.
[repr] Group::#DomainData¶
Parser data.
Members:
content: Data::String
Raw content.
parserType: Data::String
Parser type.
path: Data::String
Path to parsable content.
returnType: Code::Type
Optional return type.
Methods:
[mth] parse ()
Parse content.
[repr] Group::#DynamicType¶
Node representation of the dynamic type declaration for class construction.
Base classes:
Modema:{base-0.90}:#Derived
Members:
baseType: Data::Int32
Base type.
baseTypeString: Data::String
Base type as string.
container: Store::Container
Content container.
hasNameString: Data::Bool
Node name flag.
members: Store::Map
Node members.
nameString: Data::String
Node name.
[repr] Group::#EntryPoint¶
Node representation of the code entry point.
Base classes:
Modema:{base-0.90}:#Derived
Members:
code: Code::Block
Code block.
parameterType: Code::ParameterType
Parameter container.
raises: Store::Vector
Exception list.
returnType: Store::Single
Return type container.
Methods:
[mth] getTypeSignatureWithName ()
Get name with type informations.
[mth] getTypeSignatureWithFullName ()
Get name with full length type informations.
[mth] getTypeSignatureWithExtendedName ()
Get name with full length type informations with return.
[mth] addReturnType (string type)
Add return type string.
type : Return type string.
[mth] getReturnTypeString ()
Get return type.
[mth] isReturnTypeVoid ()
Test return type.
[repr] Group::#Function¶
Node representation of the function declaration.
Base classes:
Modema:{base-0.90}:#Derived
Members:
code: Code::Block
Code block.
parameterType: Code::ParameterType
Parameter container.
raises: Store::Vector
Exception list.
returnType: Store::Single
Return type container.
Methods:
[mth] getTypeSignatureWithName ()
Get name with type informations.
[mth] getTypeSignatureWithFullName ()
Get name with full length type informations.
[mth] getTypeSignatureWithExtendedName ()
Get name with full length type informations with return.
[mth] addReturnType (string type)
Add return type string.
type : Return type string.
[mth] getReturnTypeString ()
Get return type.
[mth] isReturnTypeVoid ()
Test return type.
[repr] Group::#Generator¶
Node representation of the code generator declaration.
Base classes:
Modema:{base-0.90}:#Derived
Members:
main: Group::Function
Embedded function.
returnType: Code::Type
Return type container.
[repr] Group::#MergedClass¶
Node representation of the merged class declaration for type construction.
Base classes:
Modema:{base-0.90}:#Derived
Members:
baseType: Data::Int32
Base type.
baseTypeString: Data::String
Base type as string.
container: Store::Container
Content container.
variables: Code::Variables
Variable container.
[repr] Group::#Method¶
Node representation of the class method declaration.
Base classes:
Modema:{base-0.90}:#Derived
Members:
code: Code::Block
Code block.
parameterType: Code::ParameterType
Parameter container.
raises: Store::Vector
Exception list.
returnType: Store::Single
Return type container.
Methods:
[mth] getTypeSignatureWithName ()
Get name with type informations.
[mth] getTypeSignatureWithFullName ()
Get name with full length type informations.
[mth] getTypeSignatureWithExtendedName ()
Get name with full length type informations with return.
[mth] addReturnType (string type)
Add return type string.
type : Return type string.
[mth] getReturnTypeString ()
Get return type.
[mth] isReturnTypeVoid ()
Test return type.
[repr] Group::#OperatorMethod¶
Node representation of the class operator method declaration.
Base classes:
Modema:{base-0.90}:#Derived
Members:
code: Code::Block
Code block.
name: Data::String
Operator name.
parameterType: Code::ParameterType
Parameter container.
raises: Store::Vector
Exception container.
returnType: Code::Type
Return type container.
[repr] Group::#Representation¶
Node representation of the class representation declaration.
Base classes:
Modema:{base-0.90}:#Derived
Members:
container: Store::Container
Content container.
superClasses: Store::Vector
Definitions of the super classes.
variables: Code::Variables
Variable container.
[repr] Group::#Specific¶
Node representation of the specific class declaration (with initial data).
Base classes:
Modema:{base-0.90}:#Derived
Members:
container: Store::Container
Content container.
specificType: Data::String
Type name.
superClasses: Store::Vector
Definitions of the super classes.
variables: Code::Variables
Variable container.
[repr] Group::#TemplateClass¶
Node representation of the template class declaration.
Base classes:
Modema:{base-0.90}:#Derived
Members:
main: Group::Class
Embedded class.
templateParameter: Code::TemplateParameter
Template parameter container.
[repr] Group::#TemplateFunction¶
Node representation of the template function declaration.
Base classes:
Modema:{base-0.90}:#Derived
Members:
main: Group::Function
Embedded function.
templateParameter: Code::TemplateParameter
Template parameter container.
Methods:
[mth] getTypeSignatureWithFullName ()
Get name with full length type informations.
[repr] Group::#TemplateMethod¶
Node representation of the template method declaration.
Base classes:
Modema:{base-0.90}:#Derived
Members:
main: Group::Method
Embedded method.
templateParameter: Code::TemplateParameter
Template parameter container.
Methods:
[mth] getTypeSignatureWithFullName ()
Get name with full length type informations.
[repr] Group::#Unit¶
Node group with additional name.
Members:
container: Store::Container
Container for child nodes.
[repr] Group::#Workspace¶
Node representation of the workspace declaration.
Base classes:
Modema:{base-0.90}:#Derived
Members:
aliases: Store::Map
Alias list.
container: Store::Container
Content container.
importPackages: Store::Vector
Imported packages.
imports: Store::Map
Imported workspaces.
version: Data::String
Version number.
Methods:
[mth] empty ()
Test for the content is empty.
[mth] addImport (string name, string type)
Add import.
name : Import name.
type : Import type.
@return: True if the array is empty.
[mth] addImportPackage (string name)
Add import package.
name : Package’s name.
[repr] Meta::#BNode¶
BNode value.
Members:
value: Data::String
Reference value.
Methods:
constructor (Data::String data)
[repr] Meta::#Data1¶
Meta data with one value.
Members:
value: Store::Single
First value.
Methods:
constructor (Node data)
[repr] Meta::#Data2¶
Meta data with two value.
Members:
values: Store::Pair
Values pairs.
Methods:
constructor (Node data1, Node data2)
[repr] Meta::#Data3¶
Meta data with three value.
Base classes:
Modema:{base-0.90}:#Derived
Members:
values: Store::Triplet
Value triplets
Methods:
constructor (Node param1, Node param2, Node param3)
Constructor with initialization data.
param1 : First parameter.
param2 : Second parameter.
param3 : Third parameter.
[mth] inverse ()
Get inverse.
[repr] Meta::#Funclets¶
Group of functional meta data.
Members:
container: Store::Container
Container for child nodes.
name: Data::String
Name of the set.
Methods:
constructor (Data::String data)
[repr] Meta::#Functional¶
Meta data in functional style;
Members:
container: Store::Container
Container for child nodes.
[repr] Meta::#FunctionalTerm¶
Subgroup of functional meta data.
Members:
container: Store::Container
Container for child nodes.
name: Data::String
Term name.
Methods:
constructor (Data::String data)
[repr] Meta::#Identifier¶
Identifier value.
Members:
value: Data::String
Identifier value.
Methods:
constructor (Data::String data)
[repr] Meta::#Iri¶
Reference value.
Members:
value: Data::String
Reference value.
Methods:
constructor (Data::String data)
[repr] Meta::#Triplets¶
Group of triplets.
Members:
container: Store::Container
Container for child nodes.
name: Data::String
Name of the set.
prefixes: Store::Map
Methods:
[mth] addPrefix (Data::String prefix, Data::String ns)
Add new prefix and check namespaces.
prefix : Prefix value.
ns : Namespace value.
@return: True if success.
[mth] addTriplet (Node node1, Node node2, Node node3)
Add triplet nodes to the store.
node1 : Subject node.
node2 : Predicate node.
node3 : Object node.
[repr] Query::#For¶
«For» representation for queries.
Members:
next: Data::String
Search method for next element.
Valid values as at @listNode()and the default value is «ObjectsRecursive».
orderBy: Store::Container
result: Store::Container
what: Store::Container
where: Store::Container
[repr] Query::#Main¶
Node representation of the query main.
Base classes:
Modema:{base-0.90}:#Derived
Members:
container: Store::Container
Content container.
parameterType: Code::ParameterType
Parameter container.
superClasses: Store::Container
Super class name container.
Methods:
[mth] getTypeSignatureWithName ()
Get name with type informations.
[mth] getTypeSignatureWithFullName ()
Get name with full length type informations.
[mth] getTypeSignatureWithExtendedName ()
Get name with full length type informations with return.
[repr] Query::#Result¶
Query result.
Members:
container: Store::Container
names: Store::Container
Methods:
[mth] getValue ()
[mth] empty ()
[mth] size ()
[mth] createInstances ()
[repr] Query::#Select¶
«Select» representation for queries.
Members:
limit: Data::Int32
next: Data::String
Search method for next element.
Valid values as at @listNode()and the default value is «ObjectsRecursive».
offset: Data::Int32
orderBy: Store::Container
what: Store::Container
where: Store::Container
[repr] System::#Clock¶
Node representation of the system clock.
Base classes:
Modema:{base-0.90}:#Derived
Methods:
[mth] now ()
Set time content by now.
[repr] System::#DateTime¶
Node representation of the system date and time.
Base classes:
Modema:{base-0.90}:#Derived
Methods:
[mth] isValid ()
Get state (default value check).
[mth] now ()
Set time content by now.
[mth] getDate ()
Get time as string time format.
[mth] getTime ()
Get time as string time format.
[mth] getTimeDate ()
Get time as string time format.
[mth] getDateTime ()
Get time as string time format.
[mth] getSystemFormat ()
Get time as system style time format.
[mth] getTimeDifferenceString (System::DateTime other)
Get time difference as string.
other : Reference time.
@return: Time in string format.
[mth] setTimezone (int32 hours, int32 minutes)
Set time zone.
hours : New time zone hours.
minutes : New time zone minutes.
[mth] getTimezone ()
Get time zone.
[mth] getXmlTimezone ()
Get time zone.
[mth] getAsPosixTime ()
Get time zone.
[mth] getYears ()
Get year as string time format.
[mth] getMonths ()
Get month as string time format.
[mth] getDays ()
Get day as string time format.
[mth] getHours ()
Get hours as string time format.
[mth] getMinutes ()
Get minutes as string time format.
[mth] getSeconds ()
Get seconds as string time format.
[mth] getSecondsFloat ()
Get seconds as string time format.
[mth] getXmlDate ()
Get time as XML time format.
[mth] getXmlTime ()
Get time as XML time format.
[mth] getXmlDateTime ()
Get time as XML time format.
[mth] setXmlDateTime (string data)
Set time as XML time format.
[repr] System::#FileBuffer¶
Node representation of the file buffer.
Base classes:
Modema:{base-0.90}:#Derived
Methods:
[mth] add (Node item)
Add node to the buffer.
item : Node item.
[mth] addFile (string filename)
Add a file to the buffer.
filename : Includes files name.
@return: True if success.
[mth] get ()
Get buffer’s content.
[mth] detach ()
Get buffer’s content and clear.
[mth] size ()
Get buffer size.
[mth] empty ()
Test for the content is empty.
[mth] open (string fileName)
Open file buffer.
fileName : Filename.
@return: True if success.
[mth] openAppend (string fileName)
Open file buffer in append mode.
fileName : Filename.
@return: True if success.
[mth] close ()
[mth] flush ()
[repr] System::#GenericBuffer¶
Node representation of the generic buffer.
Base classes:
Modema:{base-0.90}:#Derived
Methods:
[mth] add (Node item)
Add node to the buffer.
item : Node item.
[mth] addFile (string filename)
Add a file to the buffer.
filename : Includes files name.
@return: True if success.
[mth] get ()
Get buffer’s content.
[mth] detach ()
Get buffer’s content and clear.
[mth] size ()
Get buffer size.
[mth] empty ()
Test for the content is empty.
[mth] open (string fileName)
Open file buffer.
fileName : Filename.
@return: True if success.
[mth] openAppend (string fileName)
Open file buffer in append mode.
fileName : Filename.
@return: True if success.
[mth] close ()
[mth] flush ()
[mth] setMode (string mode)
Set Buffer mode.
mode : Buffer mode as string.
[mth] getMode ()
Get Buffer mode.
[mth] getModeClass ()
Get Buffer mode class.
[repr] System::#Manifest¶
Manifest for basic project data and identification.
Members:
basePath: Data::String
Loaded project’s base path. Internal use only!
description: Data::String
Project/package description.
generator: Data::String
Name of the package generator.
grammar: Data::String
Grammar name and version in string format.
id: Data::String
Project/package identifier.
imports: Store::Vector
Path imports.
isSeparated: Data::Bool
Flag for private project. Internal use only!
isSigned: Data::Bool
Flag for the signature is verified. Internal use only!
license: Data::String
License string.
name: Data::String
Project/package name.
optional: Store::Vector
Optional packages.
projectName: Data::String
Loaded project’s name. Internal use only!
projectPath: System::PlacesReaderInterface
Project path handler. Internal use only!
providesList: Store::Vector
Provided package symbols.
requiresList: Store::Vector
Required packages.
source: Data::String
Source paths.
timestamp: System::DateTime
Timestamp of the generated package.
type: Data::String
Project/package type.
values: Store::Map
Optional values.
version: Data::String
Version in string format.
workspaces: Store::Vector
Workspace list.
[repr] System::#MemoryBuffer¶
Node representation of the memory buffer.
Base classes:
Modema:{base-0.90}:#Derived
Methods:
[mth] add (Node item)
Add node to the buffer.
item : Node item.
[mth] addFile (string filename)
Add a file to the buffer.
filename : Includes files name.
@return: True if success.
[mth] get ()
Get buffer’s content.
[mth] detach ()
Get buffer’s content and clear.
[mth] size ()
Get buffer size.
[mth] empty ()
Test for the content is empty.
[repr] System::#MultiBuffer¶
Node representation of the multi-buffer.
Base classes:
Modema:{base-0.90}:#Derived
Methods:
[mth] add (Node item)
Add node to the buffer.
item : Node item.
[mth] addFile (string filename)
Add a file to the buffer.
filename : Includes files name.
@return: True if success.
[mth] get ()
Get buffer’s content.
[mth] detach ()
Get buffer’s content and clear.
[mth] size ()
Get buffer size.
[mth] empty ()
Test for the content is empty.
[mth] open1 (string fileName)
Open the first channel.
fileName : Filename.
@return: True if success.
[mth] open2 (string fileName)
Open the second channel.
fileName : Filename.
@return: True if success.
[mth] openAppend1 (string fileName)
Open the first channel in append mode.
fileName : Filename.
@return: True if success.
[mth] openAppend2 (string fileName)
Open the second channel in append mode.
fileName : Filename.
@return: True if success.
[mth] close1 ()
Close the first channel.
[mth] close2 ()
Close the second channel.
[repr] System::#Parser¶
Node representation of the parser.
Base classes:
Modema:{base-0.90}:#Derived
Members:
container: Store::Container
Content container.
data: System::Repository
Embedded repository.
items: Store::Map
Item list.
parser: Store::Map
Parser items.
parserType: Data::String
Parser type.
scanner: Store::Map
Scanner items.
stringContent: Data::String
Raw data.
superClasses: Store::Vector
Definitions of the super classes.
using_: Store::Vector
Merged class names.
variables: Code::Variables
Variable container.
Methods:
[mth] parse ()
Parse the content.
[mth] parse2 (System::Repository repository)
Parse the content.
repository : Target repository.
@return: Result node.
[mth] parseFromFile (string filename)
Parse from file.
filename : Source file name.
@return: Result node.
[mth] parseFromFile (string parserType_, string filename)
Parse from file.
parserType_ : Type of the parser.
filename : Source file name.
@return: Result node.
[repr] System::#Project¶
Node representation of the project.
Base classes:
Modema:{base-0.90}:#Derived
Members:
container: Store::Container
Content container.
isChanged: Data::Bool
Changed flag.
manifest: Store::Single
Manifest container.
superClasses: Store::Vector
Definitions of the super classes.
variables: Code::Variables
Variable container.
Methods:
[mth] getDynamicValue (string name, Node node)
Get dynamic values from resources.
name : Name of the value.
node : Node value.
@return: True if success.
[mth] listDynamicValues ()
List dynamic values.
[mth] getTargetData (string name)
Get target data.
name : Name of the value.
@return: Node data or Data::null.
[repr] System::#Repository¶
Node representation of the node repository.
Base classes:
Modema:{base-0.90}:#Derived
Members:
container: Store::Container
Content container.
queries: Store::Map
Repository queries.
variables: Code::Variables
Variable container.
Methods:
[mth] size ()
Get size of the store.
[mth] sizeMulti ()
Get size of the multi-store.
[mth] sizeMulti (string itemName)
Get size of the multi-store.
itemName : Node’s name.
@return: Size of the store.
[mth] empty ()
Test for the content is empty.
[mth] emptyMulti ()
Test for the content is empty.
[mth] storeItem (string itemName, Node node)
Store node item.
itemName : Node’s name.
node : Input node.
@return: True if success.
[mth] storeMulti (string itemName, string multiName, Node node)
Store node item.
itemName : Node’s name.
multiName : Node’s short (reproducible) name.
node : Input node.
@return: True if success.
[mth] storeItemCopy (string itemName, Node node)
Store node item and copy content.
itemName : Node’s name.
node : Input node.
@return: True if success.
[mth] storeItemRecursive (string itemName, Node node)
Store node item and add content to the node access recursively.
itemName : Node’s name.
node : Input node.
@return: True if success.
[mth] get (string itemName, Node node)
Get node from the repository.
itemName : Node name.
node : Referenced result node.
@return: True if has a match.
[mth] get (string itemName)
Get node from the repository.
itemName : Node name.
@return: Referenced result node.
[mth] getMulti (string itemName)
Get multiple nodes from the repository.
itemName : Node name.
@return: Referenced result node.
[mth] getMulti (string itemName, Store::Vector itemList)
Get multiple nodes from the repository.
itemName : Node name.
itemList : List of nodes.
@return: True if has a match.
[mth] getMultiCopy (string itemName, Store::Vector itemList)
Copy node from the repository.
itemName : Node name.
node : Duplicated result node.
@return: True if has a match.
[mth] getStrict (string itemName)
Get node from the repository with error if the request is missing.
itemName : Node name.
@return: Referenced result node.
[mth] getCopy (string itemName, Node node)
Copy node from the repository.
itemName : Node name.
node : Duplicated result node.
@return: True if has a match.
[mth] getCopy (string itemName)
Get node from the repository.
itemName : Node name.
@return: Duplicated result node.
[mth] listItems (Store::Vector list)
List stored items.
list : Result list.
[mth] listMulti (Store::Vector list)
list : Result list.
[mth] listMulti (string multiName, Store::Vector list)
multiName : Node’s short (reproducible) name.
list : Result list.
[mth] listTypeItems (string type, Store::Vector list)
List stored items by type.
type : Type selector.
list : Result list.
[mth] listWorkSpaceItems (string workSpace, Store::Vector list)
List stored items by workspace.
workSpace : Workspace name.
list : Result list.
[mth] listWorkSpaces (Store::Vector list)
List workspaces.
list : Result list.
[mth] listNameSpaceItems (string nameSpace, Store::Vector list)
List stored items by namespace.
nameSpace : Namespace name.
list : Result list.
[mth] listNameSpaces (Store::Vector list)
List namespaces.
list : Result list.
[mth] listPackages (Store::Vector list)
List imported packages.
list : Result list.
[mth] findNameInPackages (string itemName)
Find item by name and return name of package witch contains it.
itemName : Item name.
@return: Name of the package or empty string.
[mth] remove (string itemName)
Remove node.
itemName : Node’s name.
@return: True if success.
[mth] getItemsByType (string selector)
Get group from the repository.
selector : Type selector.
@return: Result vector instance with result.
[mth] contains (string functionName)
Check node name.
functionName : Node name.
@return: True if the node name is exists.
[mth] containsMulti (string functionName)
Check node name.
functionName : Node name.
@return: True if the node name is exists.
[mth] importContent (System::PlacesReaderInterface source)
Import items from source keeper.
source : Input source keeper.
@return: True if success.
[mth] importContent2 (System::PlacesReaderInterface source, string path)
Import items from source keeper.
source : Input source keeper.
path : Directory path.
@return: True if success.
[mth] importContent3 (System::PlacesReaderInterface source, string path, string language)
Import items from source keeper.
source : Input source keeper.
path : Directory path.
language : Input language.
@return: True if success.
[mth] importFrom (string path)
Import compound source code from directory.
path : Directory path.
@return: True if success.
[mth] importFrom2 (string path, string language)
Import compound source code from directory.
path : Directory path.
language : Input language.
@return: True if success.
[mth] importDynamic (string path)
Import dynamically compound source code from directory.
path : Directory path.
@return: True if success.
[mth] isPackageImported (string packageName)
Check package’s import status.
packageName : Package name.
@return: True if the package is imported.
[mth] importPackage (string packageName)
Import dynamically compound source code from registered package.
packageName : Package name.
@return: True if success.
[mth] importSinglePackageInternal (string packageName, string path)
Import single source code from registered package.
Internal method.
packageName : Package name.
path : Directory path.
@return: True if success.
[mth] importPackageContent (string packageName, System::PlacesReaderInterface source)
Import package from static content.
packageName : Package name.
source : Input source keeper.
@return: True if success.
[mth] exportTo (string path, bool putAsInterface)
Export compound source code from directory.
path : Directory path.
putAsInterface : Put output as interface.
@return: True if success.
[mth] exportContent (System::PlacesWriterInterface destination)
Export items to source keeper.
destination : Destination source keeper.
@return: True if success.
[mth] loadAll ()
Load all remain paths.
[repr] System::#RepositoryView¶
Node representation of the node repository view.
Base classes:
Modema:{base-0.90}:#Derived
Methods:
[mth] size ()
Get size of the store.
[mth] sizeMulti ()
Get size of the multi-store.
[mth] sizeMulti (string itemName)
Get size of the multi-store.
itemName : Node’s name.
@return: Size of the store.
[mth] empty ()
Test for the content is empty.
[mth] emptyMulti ()
Test for the content is empty.
[mth] storeItem (string itemName, Node node)
Store node item.
itemName : Node’s name.
node : Input node.
@return: True if success.
[mth] storeMulti (string itemName, string multiName, Node node)
Store node item.
itemName : Node’s name.
multiName : Node’s short (reproducible) name.
node : Input node.
@return: True if success.
[mth] storeItemCopy (string itemName, Node node)
Store node item and copy content.
itemName : Node’s name.
node : Input node.
@return: True if success.
[mth] storeItemRecursive (string itemName, Node node)
Store node item and add content to the node access recursively.
itemName : Node’s name.
node : Input node.
@return: True if success.
[mth] getCopy (string itemName, Node node)
Copy node from the repository.
itemName : Node name.
node : Duplicated result node.
@return: True if has a match.
[mth] getCopy (string itemName)
Get node from the repository.
itemName : Node name.
@return: Duplicated result node.
[mth] getMultiCopy (string itemName, Store::Vector itemList)
Copy node from the repository.
itemName : Node name.
node : Duplicated result node.
@return: True if has a match.
[mth] listItems (Store::Vector list)
List stored items.
list : Result list.
[mth] listMulti (Store::Vector list)
list : Result list.
[mth] listMulti (string multiName, Store::Vector list)
multiName : Node’s short (reproducible) name.
list : Result list.
[mth] listTypeItems (string type, Store::Vector list)
List stored items by type.
type : Type selector.
list : Result list.
[mth] listWorkSpaceItems (string workSpace, Store::Vector list)
List stored items by workspace.
workSpace : Workspace name.
list : Result list.
[mth] listWorkSpaces (Store::Vector list)
List workspaces.
list : Result list.
[mth] listNameSpaceItems (string nameSpace, Store::Vector list)
List stored items by namespace.
nameSpace : Namespace name.
list : Result list.
[mth] listNameSpaces (Store::Vector list)
List namespaces.
list : Result list.
[mth] listPackages (Store::Vector list)
List imported packages.
list : Result list.
[mth] findNameInPackages (string itemName)
Find item by name and return name of package witch contains it.
itemName : Item name.
@return: Name of the package or empty string.
[mth] contains (string functionName)
Check node name.
functionName : Node name.
@return: True if the node name is exists.
[mth] containsMulti (string functionName)
Check node name.
functionName : Node name.
@return: True if the node name is exists.
[mth] loadAll ()
Load all remain paths.
[repr] System::#Resource¶
Node representation of the system resource.
Base classes:
Modema:{base-0.90}:#Derived
Members:
basePath: Data::String
Base path for prefix processing.
container: Store::Container
Content container.
resourceType: Data::String
Resource type.
values: Store::Map
Value container.
Modema:{system-0.90}:¶
Library documentation for Modema:{system-0.90}: workspace.
[repr] System::#CoreDevServices¶
Node representation of the developer functions.
Base classes:
Modema:{base-0.90}:#Derived
Methods:
[mth] readSharedObjectList (string list)
Read and process a shared object list.
list : Input list.
@return: True if success.
[mth] closeSharedObject (string dsoName)
Close a shared object.
dsoName : Shared object’s name.
@return: True if success.
[repr] System::#CoreServices¶
Node representation of the core functions.
Base classes:
Modema:{base-0.90}:#Derived
Methods:
[mth] createContext (string name)
Create a new content.
name : Name of the new context.
@return: True if success.
[mth] switchContext (string name)
Switch to a content.
name : Name of the new context.
@return: True if success.
[mth] hasContext (string name)
test for a content.
name : Name of the new context.
@return: True if has the context.
[mth] finishContext (string name)
Finish current content.
name : Name of the current context.
@return: True if success.
[mth] getContextName ()
Get context’s name.
[mth] addRepositoryToContext (System::Repository repository)
Add working repository.
Managed parameters.
repository : Repository reference.
[mth] getContextRepository ()
Get working repository.
[mth] setContextBufferMode (string buffer, string mode)
Set context’s stdin/stdout buffer mode.
buffer : Buffer’s name.
mode : Stream buffer’s mode.
[mth] getContextBuffer (string buffer)
Get context’s stdout/stderr buffer’s content.
buffer : Buffer’s name.
@return: Buffer’s content.
[mth] registerRepository (string name, System::Repository repository)
Register a repository.
name : Name of the Repository.
repository : Pointer to the Repostory node.
@return: True if success.
[mth] unregisterRepository (string name)
Unregister a repository.
name : Name of the Repository.
@return: True if success.
[mth] loadSharedObject (string dsoName)
Load a shared object.
dsoName : Shared object’s name.
@return: True if success.
[mth] getDefaultProjectName ()
Get default loaded project.
[mth] listRepositories (Store::Vector list)
Get name of the repositories.
list : List of repository names.
[mth] listContexts (Store::Vector list)
List contexts.
list : Target store.
[mth] listThreads (Store::Vector list)
List threads.
list : Target store.
[mth] listProjects (Store::Vector list)
List registered projects.
list : Target store.
[mth] listRemotePackages (Store::Vector list)
List registered remote projects and packages.
list : Target store.
[mth] addRemoteLocation (string url)
Add remote repository.
url : Location’s URL.
@return: True if success.
[mth] registerProject (string name, System::Project project)
Register loaded project.
name : Project’s name.
project : Project data node.
[mth] switchProject (string name)
Switch loaded project.
name : Project’s name.
[mth] unregisterProject (string name)
Unregister loaded project.
name : Project’s name.
[mth] loadRemoteProject (string packageName)
Load project from a remote package.
packageName : Name of the remote package.
@return: True if success.
[mth] finishProject (string name)
Close and destroy project.
name : Project’s name.
@return: True if success.
[mth] getLanguageCode ()
Get language code.
[mth] setLanguageCode (string code)
Set language code.
code : Language code.
[mth] addLanguageDictionary (string language, Store::Map store)
Add language dictionary.
language : Dictionary’s language code.
store : Dictionary.
@return: True if all keys are imported successfully.
[mth] getLanguageString (string key)
Get translated string from language dictionary.
key : Input string key.
@return: Translated string or string key.
[mth] hasProject (string name)
Test for loaded project.
name : Project’s name.
@return: Project reference or Data::Null.
[mth] getProject (string name)
Get loaded project by name.
name : Project’s name.
@return: Project reference or Data::Null.
[mth] getDefaultProject ()
Get default loaded project.
[mth] hasSignatureService ()
Test for signature implementation.
[mth] addPublicKey (string key)
Add public key.
key : Public key.
[mth] createSignature (string input, string signature)
Create signature from input string.
input : Input string.
signature : New signature.
@return: True if success.
[mth] verifySignature (string input, string signature)
Verify signature from input string.
input : Input string.
signature : Created signature.
@return: True if success.
[repr] System::#ExecuteInterface¶
Node representation of the execute interface.
Base classes:
Modema:{base-0.90}:#Derived
Methods:
[mth] createInterface (string name)
Create a core interface.
name : Interface’s name.
@return: True if success.
[mth] setRepository (System::Repository repository_)
Add working repository.
Managed parameters.
repository_ : Repository reference.
[mth] execute ()
Execute a command.
[mth] addOption (string name, string value)
Add value to the options list.
name : Option’s name.
value : String value.
@return: True if success.
[mth] addOptionNode (string name, Node value)
Add value to the options list.
name : Option’s name.
value : String value.
@return: True if success.
[mth] containsOption (string name)
Test value to the options list.
name : Option’s name.
@return: True if success.
[mth] getOption (string name)
Get value to the options list.
name : Option’s name.
@return: Result value as node.
[mth] clearOptions ()
Clear options list.
[mth] clearSources ()
Clear Source lists.
[mth] clearResults ()
Clear result lists.
[mth] addToNodeSources (Node node)
Add value to node sources.
node : Node value.
[mth] addToStringSources (string value)
Add value to string sources.
value : String value.
[mth] addToNodeResults (Node node)
Add value to node results.
node : Node value.
[mth] addToStringResults (string value)
Add value to string results.
value : String value.
[mth] setNodeSources (Store::Vector list)
Set node sources array.
list : Node sources array.
[mth] setStringSources (Store::Vector list)
Set string sources array.
list : String sources array.
[mth] setNodeResults (Store::Vector list)
Set node results array.
list : Node results array.
[mth] setStringResults (Store::Vector list)
Set string results array.
list : String results array.
[mth] getNodeSources ()
Get node sources array.
[mth] getStringSources ()
Get string sources array.
[mth] getNodeResults ()
Get node results array.
[mth] getStringResults ()
Get string results array.
[repr] System::#GrammarInterface¶
Node representation of the grammar interface.
Base classes:
Modema:{base-0.90}:#Derived
Methods:
[mth] setTarget (Node target)
Set target node.
target : Target node.
@return: True if success.
[mth] getTarget ()
Get target node.
[mth] setRepository (System::Repository repository_)
Set default repository.
repository_ : Default repository.
[mth] importPath (string path)
Import a place.
path : Source path.
@return: True if success.
[mth] importSub (string fileName, string path)
Import a subdirectory in the place.
fileName : Source filename.
path : Source subdirectory path.
@return: True if success.
[mth] processString (string stringBuffer)
Process string buffer source.
stringBuffer : String buffer.
@return: True if success.
[mth] processOpened ()
Process opened source.
[mth] processOpened (string fileName)
Process specific source from opened SourceKeeper.
This method used by parallel execution.
fileName : Source item.
@return: True if success.
[mth] processOpenedRecursive (string path)
Process specific source from opened SourceKeeper.
This method used by parallel execution.
path : Relative path name.
@return: True if success.
[mth] import (System::PlacesReaderInterface handler)
Fill from an opened keeper.
handler : Source keeper.
[mth] importWorkspace (string workspaceName)
Import the content of the workspace.
workspaceName : Workspace name.
[repr] System::#LinkFragmentType¶
Node representation of the link fragment type information.
Base classes:
Modema:{base-0.90}:#Derived
Members:
access: System::LinkReturnType
Fragment informations.
directions: Data::String
Directions.
fullName: Data::String
Fragment full name.
name: Data::String
Fragment name.
result: System::LinkReturnType
Result’s informations.
type: Data::String
Fragment type.
visibility: Data::String
Visibility.
[repr] System::#LinkReturnType¶
Node representation of the return type information.
Base classes:
Modema:{base-0.90}:#Derived
Members:
subTypes: Store::Vector
Subtype container.
typeString: Data::String
Type string.
[repr] System::#Module¶
Node representation of the system module.
Base classes:
Modema:{base-0.90}:#Derived
Members:
buildFiles: Store::Vector
Build files.
content: Store::Map
Content container.
dsoName: Data::String
Target DSO’s name.
moduleName: Data::String
Module name.
moduleWrappers: Store::Vector
Module wrapper list.
nodes: Store::Vector
Node list.
providesList: Store::Vector
Provide list.
requiresList: Store::Vector
Require list.
wrapperDefinitions: Data::String
Generated wrapper’s type definitions.
wrappers: Store::Vector
Wrapper list.
Methods:
[mth] registerPath (Data::String path)
Create a new content.
name : Name of the new context.
@return: True if success.
[repr] System::#PlacesReaderInterface¶
Node representation of the places reader interface.
Base classes:
Modema:{base-0.90}:#Derived
Methods:
[mth] open (string filename)
Open file.
filename : Archive’s name.
@return: True if success.
[mth] openBuffer (string name, Data::String content)
Open a static buffer.
name : Reader method name.
content : Static buffer’s content.
@return: True if success.
[mth] isOpened ()
Status test.
[mth] close ()
Close file.
[mth] listContent (Store::Vector list)
List archive’s content.
list : Result list with directories and files.
@return: True if success.
[mth] listContent (Store::Vector list, string path)
List archive’s sub content.
list : Result list with directories and files.
path : Subdirectory’s path.
@return: True if success.
[mth] listContentRecursive (Store::Vector list, string path)
List archive’s content recursively.
list : Result list with files only.
path : Subdirectory’s path.
@return: True if success.
[mth] exists (string filename)
Test file from archive.
filename : Source contents name.
@return: True if success.
[mth] getFile (string filename, string content)
Get file from archive.
filename : Source contents name.
content : Result content.
@return: True if success.
[mth] getFile (string filename, Data::BinaryArray content)
\copydoc Places::ReaderInterface::getFile
[mth] postprocessFile (string filename)
Postprocess specified item.
filename : Source file’s path.
@return: True if success.
[mth] input (string buffer, int32 size)
Fill cyclic input buffer.
buffer : Target buffer.
size : Reading quantity.
@return: Number of read bytes.
[repr] System::#PlacesWriterInterface¶
Node representation of the places writer interface.
Base classes:
Modema:{base-0.90}:#Derived
Methods:
[mth] open (string filename)
Open file.
filename : Archive’s name.
@return: True if success.
[mth] close ()
Close file.
[mth] clearContent ()
Clear all contents.
[mth] erase (string filename)
Erase specified content.
filename : Content’s filename in the archive.
@return: True if success.
[mth] addString (string filename, string content)
Add string content to the archive.
filename : Content’s filename in the archive.
content : Content’s body.
@return: True if success.
[mth] addFile (string filename)
Add file content to the archive.
filename : Content’s filename in the archive.
@return: True if success.
[mth] addBuffer (string filename, System::MemoryBuffer buffer)
Add buffer content to the archive.
filename : Content’s filename in the archive.
buffer : Output buffer.
@return: True if success.
[fn] normalizeFileName(string name)¶
[fn] getMetaDataMember(Node node, string member, string name)¶
[fn] hasMetaData(Node node, string name)¶
[fn] hasMetaDataMember(Node node, string member, string name)¶
[fn] exchangePos(Node source, Node list)¶
[fn] replaceContentBuffer(System::MemoryBuffer buffer, string delim, Store::Map items)¶
[fn] replaceContentString(Data::String buffer, string delim, Store::Map items)¶
[fn] CreateInstance(string type)¶
[fn] CreateInstanceFromNode(Node type)¶
[fn] DebugLevel(uint32 level)¶
[fn] GetArgumentList(Store::Vector store)¶
[fn] GetDebugLevel()¶
[fn] WebGetAsArray(string url)¶
[fn] WebGetAsString(string url)¶
[fn] WebGetDownload(string url, string fileName)¶
[fn] containsGlobalOption(string name)¶
[fn] containsRepository(string name)¶
[fn] copyRepository(string name, System::Repository repository)¶
[fn] createNode(string type)¶
[fn] findNodeType(string type, string access)¶
[fn] getContextRepository()¶
[fn] getContextRepositoryView()¶
[fn] getGlobalOption(string name)¶
[fn] getNode(string type)¶
[fn] getParser(string name)¶
[fn] hasClass(string name)¶
[fn] hasExternalFunction(string name)¶
[fn] hasFunction(string name)¶
[fn] hasParser(string name)¶
[fn] isNodeType(string type)¶
[fn] referRepository(string name)¶
[fn] registerParser(string name, Node node)¶
[fn] setGlobalOption(string name, Node value)¶
[fn] CodeString(Node node)¶
[fn] DataSerialize(Node node)¶
[fn] DecodedString(Node node)¶
[fn] EncodedString(Node node)¶
[fn] GetBaseClass(Node node, string type)¶
[fn] GetMember(Node node, string member)¶
[fn] GetParentByTypeName(Node item, string className)¶
[fn] GetParentClass(Node item)¶
[fn] HasBaseType(Node node, string type)¶
[fn] HasMethod(Node node, string methodName)¶
[fn] HasParentByTypeName(Node item, string className)¶
[fn] NodeGetInstanceType(Node node)¶
[fn] NodeGetInstancedName(Node node)¶
[fn] FileCompare(string path1, string path2)¶
[fn] ReadParameterStrings(Data::String source, Data::UnsignedInt64 pos, Store::Vector output)¶
[fn] RemoveWhiteSpaces(string input)¶
[fn] UrlDecodeString(string content)¶
[fn] UrlEncodeString(string content)¶
[fn] execute(string engine, Node target)¶
[fn] stderr(Node value)¶
[fn] stdin(Node message)¶
[fn] stdout(Node value)¶
Modema:{transform-0.90}:¶
Library documentation for Modema:{transform-0.90}: workspace.
[repr] Transform::#CodeInformation¶
Node representation of code information.
Base classes:
Modema:{base-0.90}:#Derived
Methods:
[mth] addGlobalImport (string import)
Add global import to the store.
import : Imported workspace.
[mth] removeGlobalImport (string import)
Remove global import from the store.
import : Imported workspace.
[mth] pushChild (Node child)
Push child to stack.
child : Child node.
[mth] popChild (Node child)
Pop child to stack.
child : Child node.
[mth] getLastClass ()
Get last class based node.
[mth] findLinkInfo (string type)
Find link’s pointed type information.
type : Type string for searching.
@return: Result node.
[mth] findLinkInfo2 (string type, Code::Parameter parameter)
Find link’s pointed type information.
type : Type string for searching.
parameter : Method’s call parameter.
@return: Result node.
[mth] findLinkNode (string type)
Find link’s pointed node.
type : Type string for searching.
@return: Result node.
[mth] findLinkNode2 (string type, Code::Parameter parameter)
Find link’s pointed node.
type : Type string for searching.
parameter : Method’s call parameter.
@return: Result node.
[mth] findLinkType (string type)
Find link’s type.
type : Type string for searching.
@return: Type string or empty string if the type is not found.
[mth] findLinkType2 (string type, Code::Parameter parameter)
Find link’s type.
type : Type string for searching.
parameter : Method’s call parameter.
@return: Type string or empty string if the type is not found.
[mth] findType (string name)
Returns with type information string for item.
name : Source name.
@return: Result type.
[mth] findFullType (string name)
Returns with type information string for item with workspace parts.
name : Source name.
@return: Result type.
[mth] setRepository (System::Repository repository_)
Set working repository.
repository_ : Repository reference.
[mth] setRepositoryName (string name)
Set working repository name.
name : Repository name.
[mth] setDefaultRepository ()
Set default (context) repository.
[mth] fillSlotLink (Code::Link slotLink, Data::String fragment)
Fill slot link (ModemaLangCodeSlot::link)
slotLink : Slot’s link node.
fragment : Slot’s short fragment name.
@return: True if success.
[mth] fillSlotLink (Code::Link slotLink, Data::String fragment, Store::Vector fragments)
Fill slot link (ModemaLangCodeSlot::link)
slotLink : Slot’s link node.
fragment : Slot’s short fragment name.
fragments : Fragment stack.
@return: True if success.
[mth] fillGetLink (Code::Link slotGetLink, Data::String fragment)
Fill get slot (ModemaLangCodeSlot::get)
slotGetLink : Slot’s link node.
fragment : Slot’s fragment name.
@return: True if success.
[mth] fillGetLink (Code::Link slotGetLink, Data::String fragment, Store::Vector fragments)
Fill get slot (ModemaLangCodeSlot::get)
slotGetLink : Slot’s link node.
fragment : Slot’s fragment name.
fragments : Fragment stack.
@return: True if success.
[mth] fillSetLink (Code::Link slotSetLink, Data::String fragment)
Fill set slot (ModemaLangCodeSlot::set)
slotSetLink : Slot’s link node.
fragment : Slot’s fragment name.
@return: True if success.
[mth] fillSetLink (Code::Link slotSetLink, Data::String fragment, Store::Vector fragments)
Fill set slot (ModemaLangCodeSlot::set)
slotSetLink : Slot’s link node.
fragment : Slot’s fragment name.
fragments : Fragment stack.
@return: True if success.
[mth] getAttribList (Node node)
Get attribute list.
node : Input node.
@return: Attribute list.
[mth] match (Code::Path path, Node item, Store::Vector result)
Get matched result with path.
path : Path node reference.
item : Root item.
result : Result nodes in a vector.
@return: True if has match.
[mth] match (string path, Node item, Store::Vector result)
Get matched result with path.
path : Query string.
item : Root item.
result : Result nodes in a vector.
@return: True if has match.
[repr] Transform::#DictionaryVariable¶
Node representation of the dictionary variable.
Base classes:
Modema:{base-0.90}:#Derived
Members:
value: Data::String
Key value.
[repr] Transform::#Helper¶
Node representation of the transform helper methods.
Base classes:
Modema:{base-0.90}:#Derived
Methods:
[mth] appendBottom (Node what, Node where)
Transform: append bottom.
what : Source location.
where : Target location.
[mth] appendTop (Node what, Node where)
Transform: append top.
what : Source location.
where : Target location.
[mth] insertBefore (Node what, Node where)
Transform: insert before.
what : Source location.
where : Target location.
[mth] insertAfter (Node what, Node where)
Transform: insert after.
what : Source location.
where : Target location.
[mth] replace (Node what, Node where)
Transform: replace.
what : Source location.
where : Target location.
[mth] remove (Node item)
Transform: remove.
item : Target location.
[repr] Transform::#Key¶
Node representation of the transform key.
Base classes:
Modema:{base-0.90}:#Derived
Members:
keyName: Data::String
Key name.
operatorName: Data::String
Operator.
path: Code::Path
Key path.
post: Code::Block
Last code block.
pre: Code::Block
First code block.
target: Data::String
Target name.
targetList: Store::Vector
Target list.
targetVariable: Data::String
target variable.
[repr] Transform::#Main¶
Node representation of the transform main class.
Base classes:
Modema:{base-0.90}:#Derived
Members:
container: Store::Container
Content container.
destination: Store::Single
Destination name.
metadataStore: Store::Container
Metadata container.
relation: Data::String
Relation.
source: Store::Single
Source name.
using_: Store::Vector
Used class list.
variables: Code::Variables
Variable container.
Methods:
[mth] main (Node root)
Abstract main() method for executing main code block.
root : Root node for the transformation.
@return: Result of the transformation.
[repr] Transform::#MappingVariable¶
Node representation of the mapping variable.
Base classes:
Modema:{base-0.90}:#Derived
Members:
relation: Data::String
Relation.
value: Data::String
Key value.
[repr] Transform::#NativeVariable¶
Node representation of the native variable.
Base classes:
Modema:{base-0.90}:#Derived
Members:
relation: Data::String
Relation.
value: Data::String
Key value.
[repr] Transform::#Pattern¶
Node representation of the transform pattern.
Base classes:
Modema:{base-0.90}:#Derived
Members:
conditions: Code::Block
Condition rules.
internalVariables: Code::Variables
Internal variable list.
match: Store::Vector
Match list.
matchPath: Code::Path
Match path.
post: Code::Block
Last code block.
pre: Code::Block
First code block.
source: Data::String
Source name.
sourceVariable: Data::String
Source variable.
target: Data::String
Target name.
targetList: Store::Vector
Target list.
targetVariable: Data::String
Target variable.
[repr] Transform::#PositionVariable¶
Node representation of the position variable.
Base classes:
Modema:{base-0.90}:#Derived
Members:
sub: Data::String
Subkey.
value: Data::String
Key name.
Methods:
constructor (string initValue)
Constructor with first item.
initValue : Default value.
[repr] Transform::#Slot¶
Node representation of the transform slot.
Base classes:
Modema:{base-0.90}:#Derived
Members:
fill: Code::Block
Variable fill code.
internalVariables: Code::Variables
Internal variables.
match: Store::Vector
Match list.
matchPath: Code::Path
Match path.
provides: Code::Variables
Provide list.
target: Data::String
Target name.
targetList: Store::Vector
Target ist.
variableName: Data::String
Variable name.
[repr] Transform::#SlotUse¶
Node representation of the transform slot use.
Base classes:
Modema:{base-0.90}:#Derived
Members:
match: Store::Vector
Match list.
parameter: Code::Parameter
Calling parameter.
post: Code::Block
Last code block.
pre: Code::Block
First code block.
target: Data::String
Target name.
variableName: Data::String
Variable name.
[repr] Transform::#Validator¶
Node representation of the transform validator.
Base classes:
Modema:{base-0.90}:#Derived
Members:
container: Store::Container
Content container.
destination: Store::Single
Destination name.
relation: Data::String
Relation.
source: Store::Single
Source name.
using_: Store::Vector
using list.
variables: Code::Variables
Variable container.
Modema:{wrapper-0.90}:¶
Library documentation for Modema:{wrapper-0.90}: workspace.
[repr] System::Bootstrap::#ExternalWrapper¶
External function wrapper.
Members:
cppTypes: Store::Set<Data::String>
C++ type list.
declarations: Store::Vector<Data::String>
Declaration list.
headers: Store::Set<Data::String>
Header list.
includes: Store::Vector<Data::String>
Include paths.
name: Data::String
Function name.
nodeTypes: Store::Set<Data::String>
Node type list.
prefix: Data::String
target prefix.
systemHeaders: Store::Set<Data::String>
System header list.
values: Store::Map<Data::String>
Wrapper values.
[repr] System::Bootstrap::#ModuleWrapper¶
Module wrapper.
Members:
declarations: Store::Vector<Data::String>
Declaration list.
done: Data::String
Finalize code.
flags: Store::Vector<Data::String>
Build flags.
headers: Store::Set<Data::String>
Header list.
includes: Store::Vector<Data::String>
Include paths.
init: Data::String
Initialization code.
libraries: Store::Vector<Data::String>
Build libraries.
systemHeaders: Store::Set<Data::String>
System header list.
[repr] System::Bootstrap::#Wrapper¶
Node wrapper.
Members:
baseMethods: Store::Map<Data::String>
Private methods.
dependencies: Store::Set<Data::String>
Type names for raw code dependency.
headers: Store::Set<Data::String>
Header list.
includes: Store::Vector<Data::String>
Include paths.
members: Store::Map<Data::String>
Member list.
name: Data::String
Class name.
ownMethods: Store::Map<Data::String>
Public methods.
rawDeclarations: Store::Map<Data::String>
Raw declarations.
superClasses: Store::VectorGroup::BaseClassType
Base class list.
systemHeaders: Store::Set<Data::String>
System header list.
systemMethods: Store::Map<Data::String>
System methods.
values: Store::Map<Data::String>
Wrapper values.
Methods:
constructor (Data::String name_)
[mth] addBaseClass (Data::String className)