Interface IST_XMLPropCaseNode
Complex XML type with switchable child properties
Assembly: STXMLPropTypes.dll
Syntax
[Guid("0C494748-E2DE-45B5-80CE-186031E9BCDB")]
public interface IST_XMLPropCaseNode : IST_XMLPropPointer
Properties
ActiveChild
The active child element object
Declaration
IST_XMLPropPointer ActiveChild { get; }
Property Value
ActiveChildIndex
The active child element index in the PossibleTypes list
Declaration
int ActiveChildIndex { get; set; }
Property Value
ActiveChildType
The active child element type
Declaration
string ActiveChildType { get; set; }
Property Value
Arr[string]
Declaration
IST_XMLPropArray Arr[string Name] { get; }
Parameters
| Type |
Name |
Description |
| string |
Name |
|
Property Value
Attribute[string]
Declaration
string Attribute[string Name] { get; set; }
Parameters
| Type |
Name |
Description |
| string |
Name |
|
Property Value
AttributeBol[string]
Declaration
bool AttributeBol[string Name] { get; set; }
Parameters
| Type |
Name |
Description |
| string |
Name |
|
Property Value
AttributeExists[string]
Declaration
bool AttributeExists[string Name] { get; }
Parameters
| Type |
Name |
Description |
| string |
Name |
|
Property Value
AttributeFlt[string]
Declaration
double AttributeFlt[string Name] { get; set; }
Parameters
| Type |
Name |
Description |
| string |
Name |
|
Property Value
AttributeInt[string]
Declaration
int AttributeInt[string Name] { get; set; }
Parameters
| Type |
Name |
Description |
| string |
Name |
|
Property Value
AttributesList
Declaration
IST_XMLPropAttributesList AttributesList { get; }
Property Value
Bol[string]
Declaration
bool Bol[string Name] { get; set; }
Parameters
| Type |
Name |
Description |
| string |
Name |
|
Property Value
CStr[string]
Declaration
string CStr[string Name] { get; }
Parameters
| Type |
Name |
Description |
| string |
Name |
|
Property Value
Caption
Declaration
Property Value
Child
Declaration
IST_XMLPropPointer Child { get; }
Property Value
DataText
Declaration
Property Value
DefaultValue
Declaration
string DefaultValue { get; }
Property Value
Descriptor
Declaration
IST_XMLPropDescriptor Descriptor { get; }
Property Value
Flt[string]
Declaration
double Flt[string Name] { get; set; }
Parameters
| Type |
Name |
Description |
| string |
Name |
|
Property Value
Int[string]
Declaration
int Int[string Name] { get; set; }
Parameters
| Type |
Name |
Description |
| string |
Name |
|
Property Value
IsComputed
Declaration
Property Value
IsEnabled
Declaration
bool IsEnabled { get; set; }
Property Value
IsObsolete
Declaration
Property Value
IsReadOnly
Declaration
Property Value
Name
Declaration
Property Value
NodeValue
Declaration
string NodeValue { get; set; }
Property Value
ParamType
Declaration
string ParamType { get; }
Property Value
Parent
Declaration
IST_XMLPropPointer Parent { get; }
Property Value
PossibleChildren
The list of the possible child elements that are at least once were selected
Declaration
IST_XMLPropArray PossibleChildren { get; }
Property Value
PossibleTypes[int]
Declaration
IST_XMLPropDescriptor PossibleTypes[int Index] { get; }
Parameters
| Type |
Name |
Description |
| int |
Index |
|
Property Value
PossibleTypesCount
The number of possible types of child elements
Declaration
int PossibleTypesCount { get; }
Property Value
PropEnabled[string]
Declaration
bool PropEnabled[string Name] { get; set; }
Parameters
| Type |
Name |
Description |
| string |
Name |
|
Property Value
PropExists[string]
Declaration
bool PropExists[string Name] { get; }
Parameters
| Type |
Name |
Description |
| string |
Name |
|
Property Value
Ptr[string]
Declaration
IST_XMLPropPointer Ptr[string Name] { get; }
Parameters
| Type |
Name |
Description |
| string |
Name |
|
Property Value
RawAttribute[string]
Declaration
string RawAttribute[string Name] { get; set; }
Parameters
| Type |
Name |
Description |
| string |
Name |
|
Property Value
SaveToFileMark
Declaration
bool SaveToFileMark { get; set; }
Property Value
Sibling
Declaration
IST_XMLPropPointer Sibling { get; }
Property Value
SimpleType
Declaration
TSTSimplePropType SimpleType { get; }
Property Value
Str[string]
Declaration
string Str[string Name] { get; set; }
Parameters
| Type |
Name |
Description |
| string |
Name |
|
Property Value
UpdateCount
Declaration
Property Value
UpdateStamp
Declaration
ulong UpdateStamp { get; }
Property Value
Updated
Declaration
bool Updated { get; set; }
Property Value
ValueAsBoolean
Declaration
bool ValueAsBoolean { get; set; }
Property Value
ValueAsCalculatedString
Declaration
string ValueAsCalculatedString { get; }
Property Value
ValueAsDouble
Declaration
double ValueAsDouble { get; set; }
Property Value
ValueAsInteger
Declaration
int ValueAsInteger { get; set; }
Property Value
ValueAsString
Declaration
string ValueAsString { get; set; }
Property Value
Version
Declaration
int Version { get; set; }
Property Value
Methods
AddEventsHandler(string, IST_AbstractPropEventsHandler)
Declaration
void AddEventsHandler(string Name, IST_AbstractPropEventsHandler Handler)
Parameters
Assign(IST_XMLPropPointer)
Declaration
void Assign(IST_XMLPropPointer Src)
Parameters
AssignHandlers(IST_XMLPropPointer)
Declaration
void AssignHandlers(IST_XMLPropPointer Src)
Parameters
BeginUpdate()
Declaration
ClearHandlersList()
Declaration
DeleteEventsHandler(string)
Declaration
void DeleteEventsHandler(string Name)
Parameters
| Type |
Name |
Description |
| string |
Name |
|
EndUpdate()
Declaration
FindProperty(string)
Declaration
IST_XMLPropPointer FindProperty(string Name)
Parameters
| Type |
Name |
Description |
| string |
Name |
|
Returns
FindPropertyInWholeScope(string)
Declaration
IST_XMLPropPointer FindPropertyInWholeScope(string Name)
Parameters
| Type |
Name |
Description |
| string |
Name |
|
Returns
ForceCreateChildPropOfName(string)
Declaration
IST_XMLPropPointer ForceCreateChildPropOfName(string PropName)
Parameters
| Type |
Name |
Description |
| string |
PropName |
|
Returns
GetAttributeAsBoolean(string, bool)
Declaration
bool GetAttributeAsBoolean(string Name, bool DefValue)
Parameters
Returns
GetCopy()
Declaration
IST_XMLPropPointer GetCopy()
Returns
GetEventsHandler(string)
Declaration
IntPtr GetEventsHandler(string Name)
Parameters
| Type |
Name |
Description |
| string |
Name |
|
Returns
GetExpressionValueAsBoolean(string, bool)
Declaration
bool GetExpressionValueAsBoolean(string Expr, bool DefValue)
Parameters
Returns
GetExpressionValueAsFloat(string, double)
Declaration
double GetExpressionValueAsFloat(string Expr, double DefValue)
Parameters
Returns
GetExpressionValueAsString(string, string)
Declaration
string GetExpressionValueAsString(string Expr, string DefValue)
Parameters
Returns
GetFullName(bool)
Declaration
string GetFullName(bool RootNodeToo)
Parameters
| Type |
Name |
Description |
| bool |
RootNodeToo |
|
Returns
HasArray(string)
Declaration
bool HasArray(string Name)
Parameters
| Type |
Name |
Description |
| string |
Name |
|
Returns
IndexOfPossibleChild(string)
Find a list PossibleChildren element with type TypeName
Declaration
int IndexOfPossibleChild(string TypeName)
Parameters
| Type |
Name |
Description |
| string |
TypeName |
|
Returns
IsArray()
Declaration
Returns
IsAttributesSameWithDefaultValue()
Declaration
bool IsAttributesSameWithDefaultValue()
Returns
IsCaseNode()
Declaration
Returns
IsEq(IST_XMLPropPointer, double, double)
Declaration
bool IsEq(IST_XMLPropPointer p, double LinearTol, double FloatTol)
Parameters
Returns
IsInheritFrom(string)
Declaration
bool IsInheritFrom(string TypeName)
Parameters
| Type |
Name |
Description |
| string |
TypeName |
|
Returns
IsSameWithDefaultValue()
Declaration
bool IsSameWithDefaultValue()
Returns
LoadFromDisplacedXMLFile(string, string, string)
Declaration
void LoadFromDisplacedXMLFile(string AFileName, string OriginalFolder, string OriginalType)
Parameters
LoadFromExistingXMLFile(string, string)
Declaration
void LoadFromExistingXMLFile(string AFileName, string AnXMLNodePath)
Parameters
LoadFromSingleFileStream(IStream)
Declaration
void LoadFromSingleFileStream(IStream Stream)
Parameters
| Type |
Name |
Description |
| IStream |
Stream |
|
LoadFromStream(IStream, bool)
Declaration
void LoadFromStream(IStream Stream, bool Compress)
Parameters
LoadFromXMLFile(string)
Declaration
void LoadFromXMLFile(string AFileName)
Parameters
| Type |
Name |
Description |
| string |
AFileName |
|
LoadFromXMLText(string)
Declaration
bool LoadFromXMLText(string XMLText)
Parameters
| Type |
Name |
Description |
| string |
XMLText |
|
Returns
ResetPossible()
Declaration
RestoreDefaultValue()
Declaration
void RestoreDefaultValue()
SaveMarkedToXMLFile(string)
Declaration
void SaveMarkedToXMLFile(string AFileName)
Parameters
| Type |
Name |
Description |
| string |
AFileName |
|
SaveToDisplacedXMLFile(string, string)
Declaration
void SaveToDisplacedXMLFile(string AFileName, string OriginalFolder)
Parameters
| Type |
Name |
Description |
| string |
AFileName |
|
| string |
OriginalFolder |
|
SaveToExistingXMLFile(string, string)
Declaration
void SaveToExistingXMLFile(string AFileName, string AnXMLNodePath)
Parameters
SaveToSingleFileStream(IStream)
Declaration
void SaveToSingleFileStream(IStream Stream)
Parameters
| Type |
Name |
Description |
| IStream |
Stream |
|
SaveToStream(IStream, bool)
Declaration
void SaveToStream(IStream Stream, bool Compress)
Parameters
SaveToXMLFile(string)
Declaration
void SaveToXMLFile(string AFileName)
Parameters
| Type |
Name |
Description |
| string |
AFileName |
|
SaveToXMLText()
Declaration
Returns