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 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
  • 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
    Calendars

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

    This is the documentation for Enlighten.

    class Geo GeoFileManager

    Nov 21, 2019

    class Geo::GeoFileManager

        └>Geo::GeoSingleton< GeoFileManager >

    The file manager deals with locating resources given a path and a filename.

    Paths can be relative to the current executable or absolute.

    Functions

    Name Description
    ~GeoSingleton()

    Destructor clears singleton pointer.

    AddToPath(const char *, bool)

    Add a directory to the path.

    GeoSingleton()

    Constructor initialises singleton pointer.

    Get()

    Returns a pointer to the singleton instance.

    IsAvailable()

    Returns true if the singleton is available.

    PurgePath()

    Empty path of all entries.

    RemoveFromPath(const char *)

    Removes a directory from the path, if it has already been added.

    SearchInPath(const char *, Geo::GeoFileString &)

    Try to find a file.

    Start()

    Setup the singleton instance.

    Stop()

    Release the singleton instance.

    Variables

    Name Description
    tClass * m_Singleton = NULL

    Pointer to the singleton instance or NULL if not started.


    Geo::GeoSingleton< tClass >::~GeoSingleton


    protected: ~GeoSingleton()


    Destructor clears singleton pointer.


    void Geo::GeoFileManager::AddToPath


    public: void AddToPath
    (
        const char * directory,
        bool searchFirst
    )


    Add a directory to the path.

    'searchFirst' specifies whether this directory should be searched before the existing paths, otherwise it will be searched after them.


    Geo::GeoSingleton< tClass >::GeoSingleton


    protected: GeoSingleton()


    Constructor initialises singleton pointer.


    tClass * Geo::GeoSingleton< tClass >::Get


    public: tClass * Get()


    Returns a pointer to the singleton instance.


    bool Geo::GeoSingleton< tClass >::IsAvailable


    public: bool IsAvailable()


    Returns true if the singleton is available.


    void Geo::GeoFileManager::PurgePath


    public: void PurgePath()


    Empty path of all entries.


    bool Geo::GeoFileManager::RemoveFromPath


    public: bool RemoveFromPath
    (
        const char * directory
    )


    Removes a directory from the path, if it has already been added.

    Returns true if the directory was found and successfully removed, false otherwise.


    bool Geo::GeoFileManager::SearchInPath


    public: bool SearchInPath
    (
        const char * filename,
        Geo::GeoFileString & destPath
    )


    Try to find a file.

    Parameters
    [in] filename

    The filename to search for.

    [out] destPath

    Returns the path in destPath.

    Returns

    True if succeeded, false otherwise.

    Note

    This always searches in the current directory first.


    bool Geo::GeoSingleton< tClass >::Start


    public: bool Start()


    Setup the singleton instance.


    void Geo::GeoSingleton< tClass >::Stop


    public: void Stop()


    Release the singleton instance.

    , multiple selections available,
    {"serverDuration": 10, "requestCorrelationId": "9eea28cfb1854e2ab4a58447fea6773d"}