asmjit::ConstPoolNode Class Reference

A node that wraps ConstPool.

Public Members

- Public Attributes inherited from asmjit::LabelNode
- Public Attributes inherited from asmjit::BaseNode

Member Functions

Construction & Destruction
- Public Member Functions inherited from asmjit::LabelNode
- Public Member Functions inherited from asmjit::BaseNode

Additional Inherited Members

- Public Types inherited from asmjit::BaseNode

Constructor & Destructor Documentation

ConstPoolNode::ConstPoolNode(BaseBuilder* cb, uint32_t id = 0)noexcept

Creates a new ConstPoolNode instance.

Member Function Documentation

bool ConstPoolNode::empty() constnoexcept

Tests whether the constant-pool is empty.

size_t ConstPoolNode::size() constnoexcept

Returns the size of the constant-pool in bytes.

size_t ConstPoolNode::alignment() constnoexcept

Returns minimum alignment.

ConstPool& ConstPoolNode::constPool()noexcept[1/2]

Returns the wrapped ConstPool instance.

const ConstPool& ConstPoolNode::constPool() constnoexcept[2/2]

Returns the wrapped ConstPool instance (const).

Error ConstPoolNode::add(const void* data, size_t size, size_t& dstOffset)noexcept

See ConstPool::add().