Identifier

Members

Functions

toString
istring toString()

This function is useful for debug, however it is not intended to be used in production code, as it allocates.

Static functions

create
istring create(cstring line, Identifier identifier)

Parse a string and returns the corresponding Identifier

create
Identifier create(cstring line)

Convenience wrapper around Identifier.create(cstring, Identifier) that throws on parsing error.

invalidIndex
size_t invalidIndex(cstring str)

Find the first forbidden char in an identifier, if any

Variables

host
cstring host;

Hostname

plugin
cstring plugin;

Should be set to the application name

plugin_instance
cstring plugin_instance;

Application instance

type
cstring type;

Application defined type

type_instance
cstring type_instance;

Application defined instance of the category ('type')

Meta