AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
Deprecated List
Member drama::ErsReport (StatusType *status, const char *format, Types... args)
Use the ErsReportF() interface. That matches the more modern C++ style and is safer.
Member drama::Exception::Exception (bool makeUnique, const std::string func, const std::string &file, const int lineNum, const StatusType status, const char *format,...)
This function should be replaced by using the FmtWrite method.
Member drama::Exception::FmtWrite (const char *str)
Please use the FmtWriteF() version. That matches the more modern C++ style and is safer.
Member drama::Exception::FmtWrite (const char *format, T value, Types... args)
Please use the FmtWriteF() version. That matches the more modern C++ style and is safer.
Member drama::ExceptionThrowSafe (const std::string func, const std::string &file, const int lineNum, StatusType status, const char *format, Types... args)
Please use the ExceptionThrowSafeF() version. That matches the more modern C++ style and is safer.
Member drama::gitarg::Enum< LookupClass, EnumType >::Enum (const sds::Id &Id, const std::string &Name, const int Position, const std::string &Default, const Flags flags=Flags::Upper|FlagsAbbrev|FlagsKeepErr)
A string as the default is no longer supported, You need to use an enum value as the default. The constructor will throw if you use default value which is not an empty string as behavior in that case is not defined. Status DRAMA2__GITARG_ENUM_INVDEF.
Member drama::gitarg::Enum< LookupClass, EnumType >::Enum (drama::thread::TAction *taction, const sds::Id &Id, const std::string &Name, const int Position, const std::string &Default, const Flags flags=Flags::Upper|FlagsAbbrev|FlagsKeepErr)
A string as the default is no longer supported, You need to use an enum value as the default. The constructor will throw if you use default value which is not an empty string as behavior in that case is not defined. Status DRAMA2__GITARG_ENUM_INVDEF.
Member drama::gitarg::Enum< LookupClass, EnumType >::Get (const sds::Id &Id, const std::string &Name, const int Position, const std::string &Default, const Flags flags=Flags::Upper|FlagsAbbrev|FlagsKeepErr)
A string as the default is no longer supported, You need to use an enum value as the default. The method will throw if you use default value which is not an empty string as behavior in that case is not defined. Status DRAMA2__GITARG_ENUM_INVDEF.
Member drama::logging::Logger::Log (unsigned level, bool nofmt, const char *prefix, const char *fmt,...)
Please use the LogF() version or LogNF(). That matches the more modern C++ style and is safer. *
Member drama::logging::Logger::SLog (std::ostream &ostream, unsigned level, const std::string &prefix, const std::string &fmt, Types... args)
Please use the LogF() version. That matches the more modern C++ style and is safer.
Member drama::logging::Logger::SLog (unsigned level, const std::string &prefix, const std::string &fmt, Types... args)
Please use the LogF() version. That matches the more modern C++ style and is safer.
Member drama::MessageHandler::MessageUser (const char *format, Types... args)
Use the MessageUserF() interface. That matches the more modern C++ style and is safer.
Member drama::MessageHandler::MessageUser (const std::string &text) const
Use the MessageUserF() interface. That matches the more modern C++ style and is safer.
Member drama::SafePrintf (std::ostream &ostream, const char *format, const T &value, Types... args)
Use the fmt::format library instead of this function. See DRAMA 2 String formatting for details on this formatting approach, but you can replace the use of this function by returning value of fmt::format() to the stream.
Member drama::SafePrintf (std::ostream &ostream, const char *str)
Use the fmt::format library instead of this function. See DRAMA 2 String formatting for details on this formatting approach, but you can replace the use of this function by returning value of fmt::format() to the stream.
Member drama::thread::TAction::MessageUser (const char *format, Types... args)
Use the MessageUserF() interface. That matches the more modern C++ style.
Member drama::thread::TMessHandler::MessageUser (const std::string &text) const =0
From the point of view of sending messages, Use the MessageUserF() interface. That matches the more modern C++ style. But that method is implemented using this method.
Member drama::thread::TMessHandler::MessageUser (const char *format, Types... args) const
Use the MessageUserF() interface. That matches the more modern C++ style.
Member drama::thread::TUface::MessageUser (const char *format, Types... args)
Use the MessageUserF() interface. That matches the more modern C++ style.
Member drama::TSafePrintf (std::ostream &ostream, const char *format, Types... args)
Use the fmt::format library instead of this function. See DRAMA 2 String formatting for details on this formatting approach, but you can replace the use of this function by returning value of fmt::format() to the stream.
Member DramaTHROW_S (status_, format_,...)
Please use the DramaTHROW_F() version. That matches the more modern C++ style and is safer.