![]() |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
SDL element. More...
#include <sdl_script_interface.h>
Inherits ISDKComponent.
Public Member Functions | |
| virtual SDKResult SDK_CALLTYPE | Type (NodeType &type) const =0 throw () |
| Type... | |
| virtual SDKResult SDK_CALLTYPE | GetAncestor (ISDLElementSP &ancestor)=0 throw () |
| Returns the nearest ancestor element. More... | |
| virtual SDKResult SDK_CALLTYPE | GetDescendants (ISDLElementCollectionSP &descendants)=0 throw () |
| Returns descendants of the element. More... | |
| virtual SDKResult SDK_CALLTYPE | AddAttribute (AttributeType type, const SDKAny &value)=0 throw () |
| Adds attribute... | |
| virtual SDKResult SDK_CALLTYPE | AddPointAttribute (AttributeType type, const SDKPointF2D &value)=0 throw () |
| Adds point attribute. | |
| virtual SDKResult SDK_CALLTYPE | AddSizeAttribute (AttributeType type, const SDKSizeF &value)=0 throw () |
| Adds size attribute. | |
| virtual SDKResult SDK_CALLTYPE | AddParameter (SDLResourceID id, const SDKAny &value)=0 throw () |
| Adds parameter. | |
| virtual SDKResult SDK_CALLTYPE | GetAttribute (AttributeType type, SDKAny &value) const =0 throw () |
| Returns attribute. | |
| virtual SDKResult SDK_CALLTYPE | SetAttribute (AttributeType type, const SDKAny &value)=0 throw () |
| Sets attribute. | |
| virtual SDKResult SDK_CALLTYPE | AddElement (ISDLElementSP &child, NodeType type)=0 throw () |
| Adds element. | |
| virtual SDKResult SDK_CALLTYPE | AttachElement (ISDLElementSP &child, NodeType type, AnchorType anchor, float x_offset, float y_offset)=0 throw () |
| Attaches element. | |
| virtual SDKResult SDK_CALLTYPE | AddSymbol (ISDLElementSP &child, SDLResourceID symbol_id, const sdk::base::SDKStreamSP ¶ms)=0 throw () |
| Adds symbol. | |
| virtual SDKResult SDK_CALLTYPE | AttachSymbol (ISDLElementSP &child, SDLResourceID symbol_id, const sdk::base::SDKStreamSP ¶ms, AnchorType anchor, float x_offset, float y_offset)=0 throw () |
| Attaches symbol. | |
| virtual SDKResult SDK_CALLTYPE | AddSymbolByName (ISDLElementSP &child, const SDKString &symbol_name, const sdk::base::SDKStreamSP ¶ms)=0 throw () |
| Adds symbol by name. | |
| virtual SDKResult SDK_CALLTYPE | AttachSymbolByName (ISDLElementSP &child, const SDKString &symbol_name, const sdk::base::SDKStreamSP ¶ms, AnchorType anchor, float x_offset, float y_offset)=0 throw () |
| Attaches symbol by name. | |
| virtual SDKResult SDK_CALLTYPE | Write (sdk::base::SDKStreamSP &stream)=0 throw () |
| Writes... | |
| virtual SDKResult SDK_CALLTYPE | Read (const sdk::base::SDKStreamSP &stream)=0 throw () |
| Reads... | |
SDL element.
|
pure virtual | ||||||||||||||
Returns the nearest ancestor element.
| [out] | ancestor | Address of a variable that receives the pointer to the ancestor element. |
|
pure virtual | ||||||||||||||
Returns descendants of the element.
| [out] | descendants | Address of a variable that receives the pointer to the collection of descendants. |