LightWrap++
AC++wrapperfortheLightWave3DSDK
lwpp::DirInfo Class Reference

#include <file_request.h>

+ Inheritance diagram for lwpp::DirInfo:
+ Collaboration diagram for lwpp::DirInfo:

List of all members.

Public Member Functions

 DirInfo (const char *dirtype=0)
const char * GetDirectory (const char *locType=0)
 Return the path to the define type of directory.
const std::string GetDirectoryStr (const char *locType=0)
const char * stripPath (const char *fileName)
 Remove a DirInfo directory from a full filename/path if possible.

Protected Member Functions

bool _acquireGlobal ()
virtual bool available () const
 Check if the global is available.
virtual LWDirInfoFunc * getGlobal ()
 Get the pointer to the global.
LWDirInfoFunc * operator-> ()
 Get the pointer to the global.

Static Protected Attributes

static LWDirInfoFunc * globPtr
 Pointer to the global functions.

Detailed Description

Wrapper for LWDirInfoFunc


Constructor & Destructor Documentation

lwpp::DirInfo::DirInfo ( const char *  dirtype = 0)
inline
Parameters:
<em>dirtypeAs defined by LW as a LWFTYPE_

Member Function Documentation

bool lwpp::GlobalBase< LWDirInfoFunc >::_acquireGlobal ( )
inlineprotectedinherited
virtual bool lwpp::GlobalBase< LWDirInfoFunc >::available ( ) const
inlinevirtualinherited

Check if the global is available.

const char * lwpp::DirInfo::GetDirectory ( const char *  locType = 0)

Return the path to the define type of directory.

Parameters:
*locTypeDirectory type string or 0 for the default type
Returns:
Path of the directory
const std::string lwpp::DirInfo::GetDirectoryStr ( const char *  locType = 0)
inline
virtual LWDirInfoFunc * lwpp::GlobalBase< LWDirInfoFunc >::getGlobal ( )
inlinevirtualinherited

Get the pointer to the global.

LWDirInfoFunc * lwpp::GlobalBase< LWDirInfoFunc >::operator-> ( )
inlineinherited

Get the pointer to the global.

const char * lwpp::DirInfo::stripPath ( const char *  fileName)

Remove a DirInfo directory from a full filename/path if possible.

Parameters:
*fileNameFully qualified file name that may include the current DirInfo path
Returns:
stripped/relative file name if the original contained the DirInfo directory.

Member Data Documentation

LWDirInfoFunc * lwpp::GlobalBase< LWDirInfoFunc >::globPtr
staticprotectedinherited

Pointer to the global functions.


The documentation for this class was generated from the following files: