tPathVar Class Reference

Inheritance diagram for tPathVar:

Inheritance graph
[legend]
Collaboration diagram for tPathVar:

Collaboration graph
[legend]

List of all members.

Private Member Functions

void Paths (tArray< tString > &paths) const


Detailed Description

Definition at line 607 of file tDirectories.cpp.


Member Function Documentation

void tPathVar::Paths ( tArray< tString > &  paths  )  const [inline, private, virtual]

Implements tPath.

Definition at line 611 of file tDirectories.cpp.

References tString::Len(), pos, tArray< T, MALLOC >::SetLen(), st_DataDir, st_UserDataDir, and st_VarDir.

00612     {
00613         paths.SetLen( 0 );
00614         int pos = 0;
00615 
00616         paths[ pos++ ] = st_DataDir + "/var";
00617 
00618         if ( st_UserDataDir.Len() > 1 )
00619         {
00620             paths[ pos++ ] = st_UserDataDir + "/var";
00621         }
00622 
00623         if ( st_VarDir.Len() > 1 )
00624         {
00625             paths[ pos++ ] = st_VarDir;
00626         }
00627     }

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Sat Mar 15 23:58:05 2008 for Armagetron Advanced by  doxygen 1.5.4