gramods
Loading...
Searching...
No Matches
XML Documentation for gmCore

This page lists elements defined in the gmCore module and parameters (P), containers (C), their types and their corresponding C++ methods.

Parameters are set either as attributes or with the param tag, e.g. <param name="fullscreen" value="true">. Containers are typically automatically associated with the child type, through the Object::getDefaultKey() method, however it can be explicitly controlled through the KEY="container" attribute. Observe also that futher documentation for how an attribute should be used is sometimes available adjacent to the C++ methods.

XML attributes are parsed by stream operators. For more information about how this is done, refer to the documentation of the respective stream operator in the gramods namespace.

ImportLibrary

Loads a shared library and loads its nodes into the object factory. (more)

AttributeTypeMethodDocumentation
PdbgSuffixstringsetDbgSuffix Set a string to append to the library name, before the file suffix.
PlibrarystringsetLibrary Set name of library, used to create the name of the file.
PlibraryFilefilesystem::pathsetLibraryFile Set full path to library file.
PprefixstringsetPrefix Set a string to prepend to the library name.
PsuffixstringsetSuffix Set a string to append to the library name.

LogFileMessageSink (extends MessageSink)

Message sink that writes to a specified log file. (more)

AttributeTypeMethodDocumentation
PappendboolsetAppend Set to true if the messages should be appended to the end of the file, if it already exists.
PlevelintsetLevel Set the level of messages to output.
PlogFilePathfilesystem::pathsetLogFilePath Sets the path to the log file to write to.

MessageSink

This is the base type for back-ends taking care of information sent to the Console class. (more)

AttributeTypeMethodDocumentation
PshowTimeboolsetShowTime Activate or deactivate the output of the time of each message.

OStreamMessageSink (extends MessageSink)

(more)

AttributeTypeMethodDocumentation
PlevelintsetLevel Set the level of messages to output.
PstreamstringsetStream Set the stream to use as output, as string.
PuseAnsiColorboolsetUseAnsiColor Activate or deactivate the use of ANSI color escape characters to emphasize error and warning messages.