AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface

◆ FromFile()

static Id drama::sds::Id::FromFile ( const std::string &  filename)
static

Factory constructor method that reads an SDS structure from a file.

This static factory sds::Id constructor reads an SDS structure from the specified file, it should contain an SDS structure created using SdsWrite() or sds::Id::Write.

See also
sds::Id::Write
SdsWrite()
SdsRead()
Parameters
filenameName of the file.
Returns
An Id providing a reference to the structure.
Examples
argtest.cpp.