Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)

Enlighten API 3.10 Documentation
Results will update as you type.
  • Modules
  • Namespaces
    • namespace Enlighten
    • namespace Geo
      • class Geo AbstractRayChunk
      • class Geo AnsiAllocator
      • class Geo AtlasMesh
      • class Geo AtlasMeshChart
      • class Geo AtlasMeshPackingFlags
      • class Geo BasicAllocator
      • class Geo ChartParametiserFailure
      • class Geo ConvexHull
      • class Geo ConvexHullBuilder
      • class Geo CovarianceMatrix
      • class Geo CovarianceMatrixBuilder
      • class Geo EmbreeRtMeshVisitor
      • class Geo Geo2DTransform
      • class Geo GeoAlignedFreeDestructor
      • class Geo GeoAllocationPage
      • class Geo GeoAllocator
      • class Geo GeoAllocatorUnchecked
      • class Geo GeoArray
      • class Geo GeoArray_Stl
      • class Geo GeoAutoArrayPtr
      • class Geo GeoAutoDeleteArray
      • class Geo GeoAutoDeleteList
      • class Geo GeoAutoDeleteMap
      • class Geo GeoAutoPtr
      • class Geo GeoAutoReleaseArray
      • class Geo GeoAutoReleaseMap
      • class Geo GeoAutoReleasePtr
      • class Geo GeoBitArray
      • class Geo GeoBitStore
      • class Geo GeoBlueNoise
      • class Geo GeoBlueNoiseDiskPalette
      • class Geo GeoBlueNoiseRayPalette
      • class Geo GeoBoundingBox
      • class Geo GeoBoundingSphere
      • class Geo GeoBufferedFileStream
      • class Geo GeoBufferedInputStream
      • class Geo GeoCriticalSection
      • class Geo GeoDebugAllocator
      • class Geo GeoDelegateDestructor
      • class Geo GeoDeleteArrayDestructor
      • class Geo GeoDeleteDestructor
      • class Geo GeoDepthCubeMap
      • class Geo GeoEmbreeContext
      • class Geo GeoEqualCString
      • class Geo GeoEvent
      • class Geo GeoFileManager
      • class Geo GeoFileStream
      • class Geo GeoFixedBinarySearchMap
      • class Geo GeoFixedBinarySearchMapCompare
      • class Geo GeoFixedPoolAllocator
      • class Geo GeoFixedString
      • class Geo GeoFlattenAndPackResults
      • class Geo GeoFp16Texture
      • class Geo GeoFpControl
      • class Geo GeoFrameTime
      • class Geo GeoFreeDestructor
      • class Geo GeoGenericTexture
      • class Geo GeoGuid
      • class Geo GeoHalf
      • class Geo GeoHashConstHandle
      • class Geo GeoHashCString
      • class Geo GeoHashDefault
      • class Geo GeoHashHandle
      • class Geo GeoHashMap
      • class Geo GeoHashString
      • class Geo GeoImmutableArray
      • class Geo GeoInputEvent
      • class Geo GeoInstanceCount
    Calendars

You‘re viewing this with anonymous access, so some content might be blocked.
/
class Geo GeoBitArray

    This is the documentation for Enlighten.

    class Geo GeoBitArray

    Nov 21, 2019

    class Geo::GeoBitArray

    A simple bit array wrapper, stored in an array of u32s.

    Functions

    Name Description
    ~GeoBitArray()

    Basic destructor.

    ClearAllItems()

    Clear all bits.

    ClearItem(s32)

    Clear a bit.

    ClearUp()

    Delete any memory to reset to initial empty state.

    ComputeBitArrayLength(s32)

    Compute the length of the s32 array that numItems will require.

    CountNumBitsSet()

    Count and return the number of bits set.

    GeoBitArray()

    Default constructor.

    GeoBitArray(const GeoBitArray &)

    Copy constructor.

    GetBitArray()

    Read-write access to the bit array itself.

    GetBitArray()

    Read-only access to the bit array itself.

    GetNumItems()

    Read-only access to num items.

    Initialise(s32)

    (Re-)Construct a zeroed bit array for numItems.

    operator=(const GeoBitArray &)

    Assignment from another GeoBitArray.

    SetItem(s32)

    Set a bit.

    TestItem(s32)

    Test whether a bit has been set.


    Geo::GeoBitArray::~GeoBitArray


    public: ~GeoBitArray()


    Basic destructor.


    void Geo::GeoBitArray::ClearAllItems


    public: void ClearAllItems()


    Clear all bits.


    void Geo::GeoBitArray::ClearItem


    public: void ClearItem
    (
        s32 itemIdx
    )


    Clear a bit.


    void Geo::GeoBitArray::ClearUp


    public: void ClearUp()


    Delete any memory to reset to initial empty state.


    static s32 Geo::GeoBitArray::ComputeBitArrayLength


    public: s32 ComputeBitArrayLength
    (
        s32 numItems
    )


    Compute the length of the s32 array that numItems will require.


    s32 Geo::GeoBitArray::CountNumBitsSet


    public: s32 CountNumBitsSet() const


    Count and return the number of bits set.


    Geo::GeoBitArray::GeoBitArray


    public: GeoBitArray()


    Default constructor.


    Geo::GeoBitArray::GeoBitArray


    public: GeoBitArray
    (
        const GeoBitArray & bitArray
    )


    Copy constructor.


    u32* Geo::GeoBitArray::GetBitArray


    public: u32 * GetBitArray()


    Read-write access to the bit array itself.


    const u32* Geo::GeoBitArray::GetBitArray


    public: const u32 * GetBitArray() const


    Read-only access to the bit array itself.


    s32 Geo::GeoBitArray::GetNumItems


    public: s32 GetNumItems() const


    Read-only access to num items.


    bool Geo::GeoBitArray::Initialise


    public: bool Initialise
    (
        s32 numItems
    )


    (Re-)Construct a zeroed bit array for numItems.

    'numItems' can be zero but not negative.

    Returns

    False only if the mem alloc fails.


    GeoBitArray& Geo::GeoBitArray::operator=


    public: GeoBitArray & operator=
    (
        const GeoBitArray & bitArray
    )


    Assignment from another GeoBitArray.


    void Geo::GeoBitArray::SetItem


    public: void SetItem
    (
        s32 itemIdx
    )


    Set a bit.


    bool Geo::GeoBitArray::TestItem


    public: bool TestItem
    (
        s32 itemIdx
    ) const


    Test whether a bit has been set.

    , multiple selections available,
    {"serverDuration": 9, "requestCorrelationId": "c2618a4b6f964e6695c4cb828558eca7"}