class jnc.Field

class Field:
    jnc.ModuleItem,
    jnc.ModuleItemDecl,
    jnc.ModuleItemInitializer {
    // properties

    jnc.Type* const property m_type;
    size_t const property m_offset;
    uint_t const property m_bitOffset;
    uint_t const property m_bitCount;
    jnc.PtrTypeFlags const property m_ptrTypeFlags;

    // construction

    construct(long p);

    // methods

    string_t getValueString(
        void const* p,
        string_t formatSpec = null
    ) const;
};

Inherited Members

public:
    // properties

    jnc.Module* const property m_module;
    jnc.ModuleItemKind const property m_itemKind;
    uint_t const property m_flags;
    jnc.Type* const property m_type;
    string_t const property m_name;
    string_t const property m_qualifiedName;
    jnc.StorageKind const property m_storageKind;
    jnc.AccessKind const property m_accessKind;
    jnc.AttributeBlock* const property m_attributeBlock;
    jnc.Namespace* const property m_parentNamespace;
    jnc.Unit* const property m_parentUnit;
    int const property m_line;
    int const property m_col;
    string_t const property m_initializer;

    // methods

    jnc.Attribute* findAttribute(string_t name) const;
    variant_t findAttributeValue(string_t name) const;