Configuration (C++)

group FnConfig
class Config
#include <FnConfig.h>

Provides a number of static methods to access the configuration of the currently running Katana session.

Public Functions

virtual ~Config()

Public Static Functions

static bool has(const std::string &key)

Return
True if there is an entry with the given key, otherwise false.
Parameters
  • key -

    The key of the configuration entry to be queried.

static std::string get(const std::string &key)

Return
The value of a configuration entry with the given key, or an empty string if no entry exists with the given key.
Parameters
  • key -

    The key of the configuration entry whose value to retrieve.

static const FnConfigHostSuite_v1 *getSuite()
static FnPluginStatus setHost(FnPluginHost *host)