Class Keyword

Inheritance Relationships

Base Type

  • public Object

Class Documentation

class Keyword : public Object

Keyword defines a type of keyword.

Public Functions

inline Keyword()

The constructor of Keyword.

Returns

The instance of Keyword.

inline Keyword(const std::string &key, const TypePtr &value)

The constructor of Keyword with some parameters.

Parameters
  • key[in] Define the key of Keyword.

  • value[in] Define the value of Keyword.

Returns

The instance of Keyword.

~Keyword() override = default

The destructor of Keyword.

inline std::string GetKey() const

Get the key.

Returns

The key.

inline TypePtr GetValue() const

Get the value.

Returns

The value.