tPathConfig Class Reference

Inheritance diagram for tPathConfig:

Inheritance graph
[legend]
Collaboration diagram for tPathConfig:

Collaboration graph
[legend]

List of all members.

Private Member Functions

void Paths (tArray< tString > &paths) const


Detailed Description

Definition at line 518 of file tDirectories.cpp.


Member Function Documentation

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

Implements tPath.

Definition at line 522 of file tDirectories.cpp.

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

00523     {
00524         paths.SetLen( 0 );
00525         int pos = 0;
00526 
00527         paths[ pos++ ] = st_DataDir + "/config";
00528 
00529         if ( st_ConfigDir.Len() > 1 )
00530         {
00531             paths[ pos++ ] = st_ConfigDir;
00532         }
00533 
00534         if ( st_UserDataDir.Len() > 1 )
00535         {
00536             paths[ pos++ ] = st_UserDataDir + "/config";
00537         }
00538 
00539         if ( st_UserConfigDir.Len() > 1 )
00540         {
00541             paths[ pos++ ] = st_UserConfigDir;
00542         }
00543     }

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:57:59 2008 for Armagetron Advanced by  doxygen 1.5.4