AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
|
◆ Get() [1/4]
Get the value of the object from an SDS structure or file. This method will access an Sds structure which may be specified either directly as the argument to an action or as the name of an SDS file containing the structure. If the argument id is non-zero, points to an Sds structured item and the structure name is not "ArgStructure", then the id of this structure is returned. If the argument system id is non-zero and points to the an SDS item named "ArgStructure", the we try to find (by name or position), the requested item. If such an item is found and it is a Sds structure, the id of the item is returned. If we still don't have a value, the flag KeepErr is NOT specified and Default has a non-zero length, then it is treated as the name of a file which we read using SdsRead(). The resulting Sds id is returned. If we read the value from a file, the name of the file is returned available from ActualName(). Otherwise, the name of the structure is returned by ActualName(). Methods WasReadFromFile() and WasReadFromDefault() indicate how we got the value.
|
Click here for the DRAMA home page and here for the AAO home page.
For more information, contact tony.farrell@mq.edu.au
Generated on Thu Dec 12 2024 23:07:35 for AAO DRAMA/DRAMA2 C++ Interface by 1.9.8