syBR::Core::FileSystem::DirectoryEntry Struct Reference

Directory entry i.e. a file or a sub-directory. More...

#include <FileSystem.hpp>

List of all members.

Public Member Functions

 DirectoryEntry ()
 Constructor.
 DirectoryEntry (const std::string &new_name, const std::string &new_fullPath, const std::string &new_relativePath, const std::string &new_extension, const bool new_isDirectory)
 Constructor.

Public Attributes

std::string name
 Directory entry name.
std::string fullPath
 Directory entry full path.
std::string relativePath
 Directory entry relative path (i.e. relative to the mounted location.
std::string extension
 Directory entry extension, if any.
bool isDirectory
 Directory entry type:
  • true if it is a directory
  • false if it is a file.


Detailed Description

Directory entry i.e. a file or a sub-directory.

Constructor & Destructor Documentation

syBR::Core::FileSystem::DirectoryEntry::DirectoryEntry (  )  [inline]

Constructor.

syBR::Core::FileSystem::DirectoryEntry::DirectoryEntry ( const std::string &  new_name,
const std::string &  new_fullPath,
const std::string &  new_relativePath,
const std::string &  new_extension,
const bool  new_isDirectory 
) [inline]

Constructor.

Parameters:
new_name Name
new_fullPath Full path
new_relativePath Relative path
new_extension Extension
new_isDirectory Type


Member Data Documentation

std::string syBR::Core::FileSystem::DirectoryEntry::name

Directory entry name.

std::string syBR::Core::FileSystem::DirectoryEntry::fullPath

Directory entry full path.

std::string syBR::Core::FileSystem::DirectoryEntry::relativePath

Directory entry relative path (i.e. relative to the mounted location.

std::string syBR::Core::FileSystem::DirectoryEntry::extension

Directory entry extension, if any.

bool syBR::Core::FileSystem::DirectoryEntry::isDirectory

Directory entry type:


The documentation for this struct was generated from the following file:

Copyright © 2008 by Sebastien Frippiat
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License.
Last modified Tue Dec 30 17:57:33 2008