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.
  • class Geo GeoHashDefault
  • class Geo GeoHashHandle
  • class Geo GeoHashMap
  • class Geo GeoHashString
  • class Geo GeoImmutableArray
  • class Geo GeoInputEvent
  • class Geo GeoInstanceCount
  • class Geo GeoIntRange
  • class Geo GeoIntrusivePtr
  • class Geo GeoKeyValueArray
  • class Geo GeoLineSegment
  • class Geo GeoList
  • class Geo GeoMap
  • class Geo GeoMemoryDefault
  • class Geo GeoMemoryPool
  • class Geo GeoMemoryStream
  • class Geo GeoNonAABoundingBox
  • class Geo GeoNoopDestructor
  • class Geo GeoPair
  • class Geo GeoParametrisedPlane3
  • class Geo GeoPriorityQueue
  • class Geo GeoProgress
  • class Geo GeoQueue
  • class Geo GeoQueueEnumInterface
  • class Geo GeoRefArrayPtr
  • class Geo GeoRefCount
  • class Geo GeoRefPtr
  • class Geo GeoRefReleasePtr
  • class Geo GeoReleaseDestructor
  • class Geo GeoRGBXTexture
  • class Geo GeoScopedCSection
  • class Geo GeoSingleton
  • class Geo GeoSpatialHash
  • class Geo GeoString
  • class Geo GeoTimer
  • class Geo GeoTokenList
  • class Geo GeoTokenStream
  • class Geo GeoTriangle
  • class Geo GeoTriple
  • class Geo GeoUniqueDelegatePtr
  • class Geo GeoUniquePtr
  • class Geo GeoUniqueReleasePtr
  • class Geo GeoV128Texture
  • class Geo GeoVariant
  • class Geo GeoVirtualPageAllocator
  • class Geo GeoZLibFileStream
  • class Geo GoodRNG
  • class Geo IdentDataCompare
  • class Geo IdentVertLinkBuilder
  • class Geo IdxLink
  • class Geo IffReader
  • class Geo IffTextWriter
  • class Geo IffWriter
  • class Geo IGeoEvent
  • class Geo IGeoInputStream
  • class Geo IGeoProgressProxy
  • class Geo IGeoRayTracingContext
  • class Geo IGeoReleasable
  • class Geo IGeoSerialisable
  • class Geo IGeoStream
  • class Geo IRtMesh
  • class Geo ITerminalCmdHandler
  • class Geo ITerminalDelegate
  • class Geo ITerminalInputHandler
  • class Geo ITerminalOutputHandler
  • class Geo Matrix
  • class Geo MemoryAllocator
  • class Geo NonCopyable
  • class Geo Optional
  • class Geo PackedInteger4
  • class Geo PointLeaf
  • class Geo PointSplit
  • class Geo PointSplitBounds
  • class Geo PointSplitState
  • class Geo QuickTaskTimer
  • class Geo RayResult
  • class Geo Releasable
  • class Geo RingBuffer
  • class Geo RtMesh
  • class Geo RtMeshGroup
  • class Geo ScopedTickCounter
    Calendars

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

    This is the documentation for Enlighten.

    class Geo GeoUniquePtr

    Nov 21, 2019

    template<typename, typename>
    class Geo::GeoUniquePtr

        └>D    └>Geo::NonCopyable

    A value type to take ownership of a raw object allocated on the heap and bind its life-time to the scope of this class.

    Virtually identical to std::auto_ptr, but with policy-based destruction semantics.

    Functions

    Name Description
    ~GeoUniquePtr()

    Destructor - Delete the internal object.

    Delete()

    Explicitly delete the internal object.

    Detach()

    Release ownership of the internal object and return it to the client.

    GeoUniquePtr(T *)

    Take ownership of the raw-ptr obj. Explicit so that you don't unknowingly change ownership.

    GeoUniquePtr(GeoUniquePtr &&)

    Move constructor.

    GetPtr()

    Explicitly return the contained type.

    operator bool_type()

    Is the object valid?

    operator!=(const GeoUniquePtr &)

    Equivalence/comparison tests.

    operator*()

    Allow dereferencing of the contained type.

    operator[](Geo::s32)

    Allow array referencing of the contained type.

    operator<(const GeoUniquePtr &)

    Equivalence/comparison tests.

    operator=(GeoUniquePtr &&)

    Move assignment operator.

    operator==(const GeoUniquePtr &)

    Equivalence/comparison tests.

    operator>(const GeoUniquePtr &)

    Equivalence/comparison tests.

    operator->()

    Access members of the owned object.

    Reset(T *)

    Hold new object, destroying current.

    Friends

    Name Description
    friend void Swap(GeoUniquePtr &a, GeoUniquePtr &b)

    Specialized swap.


    Geo::GeoUniquePtr< T, D >::~GeoUniquePtr


    public: ~GeoUniquePtr()


    Destructor - Delete the internal object.


    void Geo::GeoUniquePtr< T, D >::Delete


    public: void Delete()


    Explicitly delete the internal object.


    T* Geo::GeoUniquePtr< T, D >::Detach


    public: T * Detach()


    Release ownership of the internal object and return it to the client.

    From then on its the client's responsibility to delete it.


    Geo::GeoUniquePtr< T, D >::GeoUniquePtr


    public: GeoUniquePtr
    (
        T * obj
    )


    Take ownership of the raw-ptr obj. Explicit so that you don't unknowingly change ownership.


    Geo::GeoUniquePtr< T, D >::GeoUniquePtr


    public: GeoUniquePtr
    (
        GeoUniquePtr && rhs
    )


    Move constructor.


    T* Geo::GeoUniquePtr< T, D >::GetPtr


    public: T * GetPtr() const


    Explicitly return the contained type.


    Geo::GeoUniquePtr< T, D >::operator bool_type


    public: operator bool_type() const


    Is the object valid?


    bool Geo::GeoUniquePtr< T, D >::operator!=


    public: bool operator!=
    (
        const GeoUniquePtr & rhs
    ) const


    Equivalence/comparison tests.


    T& Geo::GeoUniquePtr< T, D >::operator*


    public: T & operator*() const


    Allow dereferencing of the contained type.


    T& Geo::GeoUniquePtr< T, D >::operator[]


    public: T & operator[]
    (
        Geo::s32 idx
    ) const


    Allow array referencing of the contained type.


    bool Geo::GeoUniquePtr< T, D >::operator<


    public: bool operator<
    (
        const GeoUniquePtr & rhs
    ) const


    Equivalence/comparison tests.


    GeoUniquePtr& Geo::GeoUniquePtr< T, D >::operator=


    public: GeoUniquePtr & operator=
    (
        GeoUniquePtr && obj
    )


    Move assignment operator.


    bool Geo::GeoUniquePtr< T, D >::operator==


    public: bool operator==
    (
        const GeoUniquePtr & rhs
    ) const


    Equivalence/comparison tests.


    bool Geo::GeoUniquePtr< T, D >::operator>


    public: bool operator>
    (
        const GeoUniquePtr & rhs
    ) const


    Equivalence/comparison tests.


    T* Geo::GeoUniquePtr< T, D >::operator->


    public: T * operator->() const


    Access members of the owned object.


    void Geo::GeoUniquePtr< T, D >::Reset


    public: void Reset
    (
        T * obj
    )


    Hold new object, destroying current.

    , multiple selections available,
    {"serverDuration": 10, "requestCorrelationId": "5276b0ad6073497493a4955f12028311"}