class doc.Storage

class Storage {
    // properties

    string_t autoget property m_directory;

    // construction

    destruct();

    // methods

    void clear();

    bool readBool(
        string_t name,
        bool defaultValue = false
    );

    void writeBool(
        string_t name,
        bool value
    );

    int readInt(
        string_t name,
        int defaultValue = 0
    );

    void writeInt(
        string_t name,
        int value
    );

    string_t readString(
        string_t name,
        string_t defaultValue = null
    );

    void writeString(
        string_t name,
        string_t value
    );
};