Description | Hierarchy | Fields | Methods | Properties |
type TAdSimpleXMLElems = class(TObject)
![]() |
constructor Create(const AOwner: TAdSimpleXMLElem); |
![]() |
destructor Destroy; override; |
![]() |
procedure Notify(Value: TAdSimpleXMLElem; Operation: TOperation); |
![]() |
function Add(const Name: string): TAdSimpleXMLElemClassic; overload; |
![]() |
function Add(const Name, Value: string): TAdSimpleXMLElemClassic; overload; |
![]() |
function Add(const Name: string; const Value: Int64): TAdSimpleXMLElemClassic; overload; |
![]() |
function Add(const Name: string; const Value: Boolean): TAdSimpleXMLElemClassic; overload; |
![]() |
function Add(const Name: string; const Value: TStream): TAdSimpleXMLElemClassic; overload; |
![]() |
function Add(const Name: string; const Value: Extended): TAdSimpleXMLElemClassic; overload; |
![]() |
function Add(Value: TAdSimpleXMLElem): TAdSimpleXMLElem; overload; |
![]() |
function AddFirst(Value: TAdSimpleXMLElem): TAdSimpleXMLElem; overload; |
![]() |
function AddFirst(const Name: string): TAdSimpleXMLElemClassic; overload; |
![]() |
function AddComment(const Name: string; const Value: string): TAdSimpleXMLElemComment; |
![]() |
function AddCData(const Name: string; const Value: string): TAdSimpleXMLElemCData; |
![]() |
function AddText(const Name: string; const Value: string): TAdSimpleXMLElemText; |
![]() |
function Insert(Value: TAdSimpleXMLElem; Index: Integer): TAdSimpleXMLElem; overload; |
![]() |
function Insert(const Name: string; Index: Integer): TAdSimpleXMLElemClassic; overload; |
![]() |
procedure Clear; virtual; |
![]() |
procedure Delete(const Index: Integer); overload; |
![]() |
procedure Delete(const Name: string); overload; |
![]() |
procedure Move(const CurIndex, NewIndex: Integer); |
![]() |
function IndexOf(const Value: TAdSimpleXMLElem): Integer; overload; |
![]() |
function IndexOf(const Value: string): Integer; overload; |
![]() |
function Value(const Name: string; Default: string = ''): string; |
![]() |
function IntValue(const Name: string; Default: Int64 = -1): Int64; |
![]() |
function BoolValue(const Name: string; Default: Boolean = True): Boolean; |
![]() |
function FloatValue(const Name: string; Default: Extended = -1): Extended; |
![]() |
procedure BinaryValue(const Name: string; const Stream: TStream); |
![]() |
function LoadFromStream(const Stream: TStream; AParent: TAdSimpleXML = nil): string; |
![]() |
procedure SaveToStream(const Stream: TStream; const Level: string = ''; AParent: TAdSimpleXML = nil); |
![]() |
procedure Sort; |
![]() |
procedure CustomSort(AFunction: TAdSimpleXMLElemCompare); |
![]() |
property Parent: TAdSimpleXMLElem read FParent write FParent; |
![]() |
property Item[const Index: Integer]: TAdSimpleXMLElem read GetItem; |
![]() |
property ItemNamed[const Name: string]: TAdSimpleXMLElem read GetItemNamed; |
![]() |
property Count: Integer read GetCount; |
![]() |
constructor Create(const AOwner: TAdSimpleXMLElem); |
![]() |
destructor Destroy; override; |
![]() |
procedure Notify(Value: TAdSimpleXMLElem; Operation: TOperation); |
Use notify to indicate to a list that the given element is removed from the list so that it doesn't delete it as well as the one that insert it in itself. This method is automatically called by AddChild and AddChildFirst if the Container property of the given element is set. |
![]() |
function Add(const Name: string): TAdSimpleXMLElemClassic; overload; |
![]() |
function Add(const Name, Value: string): TAdSimpleXMLElemClassic; overload; |
![]() |
function Add(const Name: string; const Value: Int64): TAdSimpleXMLElemClassic; overload; |
![]() |
function Add(const Name: string; const Value: Boolean): TAdSimpleXMLElemClassic; overload; |
![]() |
function Add(const Name: string; const Value: TStream): TAdSimpleXMLElemClassic; overload; |
![]() |
function Add(const Name: string; const Value: Extended): TAdSimpleXMLElemClassic; overload; |
![]() |
function Add(Value: TAdSimpleXMLElem): TAdSimpleXMLElem; overload; |
![]() |
function AddFirst(Value: TAdSimpleXMLElem): TAdSimpleXMLElem; overload; |
![]() |
function AddFirst(const Name: string): TAdSimpleXMLElemClassic; overload; |
![]() |
function AddComment(const Name: string; const Value: string): TAdSimpleXMLElemComment; |
![]() |
function AddCData(const Name: string; const Value: string): TAdSimpleXMLElemCData; |
![]() |
function AddText(const Name: string; const Value: string): TAdSimpleXMLElemText; |
![]() |
function Insert(Value: TAdSimpleXMLElem; Index: Integer): TAdSimpleXMLElem; overload; |
![]() |
function Insert(const Name: string; Index: Integer): TAdSimpleXMLElemClassic; overload; |
![]() |
procedure Clear; virtual; |
![]() |
procedure Delete(const Index: Integer); overload; |
![]() |
procedure Delete(const Name: string); overload; |
![]() |
procedure Move(const CurIndex, NewIndex: Integer); |
![]() |
function IndexOf(const Value: TAdSimpleXMLElem): Integer; overload; |
![]() |
function IndexOf(const Value: string): Integer; overload; |
![]() |
function Value(const Name: string; Default: string = ''): string; |
![]() |
function IntValue(const Name: string; Default: Int64 = -1): Int64; |
![]() |
function BoolValue(const Name: string; Default: Boolean = True): Boolean; |
![]() |
function FloatValue(const Name: string; Default: Extended = -1): Extended; |
![]() |
procedure BinaryValue(const Name: string; const Stream: TStream); |
![]() |
function LoadFromStream(const Stream: TStream; AParent: TAdSimpleXML = nil): string; |
![]() |
procedure SaveToStream(const Stream: TStream; const Level: string = ''; AParent: TAdSimpleXML = nil); |
![]() |
procedure Sort; |
![]() |
procedure CustomSort(AFunction: TAdSimpleXMLElemCompare); |
![]() |
property Parent: TAdSimpleXMLElem read FParent write FParent; |
![]() |
property Item[const Index: Integer]: TAdSimpleXMLElem read GetItem; |
![]() |
property ItemNamed[const Name: string]: TAdSimpleXMLElem read GetItemNamed; |
![]() |
property Count: Integer read GetCount; |