Classe de gestion de chemin.
Plus de détails...
Liste de tous les membres
Fonctions membres publiques |
| | Path () |
| | Path (char const *p_data) |
| | Constructeur à partir d'un tableau de char.
|
| | Path (wchar_t const *p_data) |
| | Constructeur à partir d'un tableau de wchar_t.
|
| | Path (String const &p_data) |
| | Constructeur à partir d'un String.
|
| | Path (Path const &p_data) |
| | Constructeur par copie.
|
| | Path (Path &&p_data) |
| | Constructeur par déplacement.
|
| Path & | operator= (Path const &p_data) |
| | Opérateur d'affectation par copie.
|
| Path & | operator= (Path &&p_data) |
| | Opérateur d'affectation par déplacement.
|
| Path & | operator/= (Path const &p_path) |
| | Concatène un chemin à celui-ci. Ajoute le séparateur si besoin est.
|
| Path & | operator/= (String const &p_string) |
| | Concatène une chaîne de caractères à ce chemin. Ajoute le séparateur si besoin est.
|
| Path & | operator/= (char const *p_pBuffer) |
| | Concatène une chaîne de caractères C MBCS à ce chemin. Ajoute le séparateur si besoin est.
|
| Path & | operator/= (wchar_t const *p_pBuffer) |
| | Concatène une chaîne de caractères C Unicode à ce chemin. Ajoute le séparateur si besoin est.
|
| Path | GetPath () const |
| | Récupère le dossier parent.
|
| String | GetFileName () const |
| | Récupère la feuille de ce chemin.
|
| String | GetFullFileName () const |
| | Récupère le chemin complet.
|
| String | GetExtension () const |
| | Récupère l'extension du nom de fichier, s'il y en a.
|
Attributs publics statiques |
| static const xchar | Separator = cuT( '/') |
| | Séparateur de chemin (dépendant de l'OS).
|
Description détaillée
Classe de gestion de chemin.
- Auteur:
- Sylvain DOREMUS
- Date:
- 09/02/2010
Documentation des constructeurs et destructeur
| Castor::Path::Path |
( |
char const * |
p_data |
) |
|
Constructeur à partir d'un tableau de char.
- Paramètres:
-
| [in] | p_data | Le tableau de char |
| Castor::Path::Path |
( |
wchar_t const * |
p_data |
) |
|
Constructeur à partir d'un tableau de wchar_t.
- Paramètres:
-
| [in] | p_data | Le tableau de wchar_t |
| Castor::Path::Path |
( |
String const & |
p_data |
) |
|
Constructeur à partir d'un String.
- Paramètres:
-
| Castor::Path::Path |
( |
Path const & |
p_data |
) |
|
Constructeur par copie.
- Paramètres:
-
| [in] | p_data | L'objet Path à copier |
| Castor::Path::Path |
( |
Path && |
p_data |
) |
|
Constructeur par déplacement.
- Paramètres:
-
| [in] | p_data | L'objet Path à déplacer |
Documentation des fonctions membres
| String Castor::Path::GetExtension |
( |
|
) |
const |
Récupère l'extension du nom de fichier, s'il y en a.
- Renvoie:
- L'extension
| String Castor::Path::GetFileName |
( |
|
) |
const |
Récupère la feuille de ce chemin.
- Renvoie:
- La feuille
| String Castor::Path::GetFullFileName |
( |
|
) |
const |
Récupère le chemin complet.
- Renvoie:
- Le chemin complet
| Path Castor::Path::GetPath |
( |
|
) |
const |
Récupère le dossier parent.
- Renvoie:
- Le dossier parent
| Path& Castor::Path::operator/= |
( |
wchar_t const * |
p_pBuffer |
) |
|
Concatène une chaîne de caractères C Unicode à ce chemin. Ajoute le séparateur si besoin est.
- Paramètres:
-
| [in] | p_pBuffer | La chaîne de caractères C à concaténer |
| Path& Castor::Path::operator/= |
( |
String const & |
p_string |
) |
|
Concatène une chaîne de caractères à ce chemin. Ajoute le séparateur si besoin est.
- Paramètres:
-
| [in] | p_string | La chaîne de caractères à concaténer |
| Path& Castor::Path::operator/= |
( |
char const * |
p_pBuffer |
) |
|
Concatène une chaîne de caractères C MBCS à ce chemin. Ajoute le séparateur si besoin est.
- Paramètres:
-
| [in] | p_pBuffer | La chaîne de caractères C à concaténer |
| Path& Castor::Path::operator/= |
( |
Path const & |
p_path |
) |
|
Concatène un chemin à celui-ci. Ajoute le séparateur si besoin est.
- Paramètres:
-
| [in] | p_path | Le chemin à concaténer |
| Path& Castor::Path::operator= |
( |
Path && |
p_data |
) |
|
Opérateur d'affectation par déplacement.
- Paramètres:
-
| [in] | p_data | L'objet Path à déplacer |
- Renvoie:
- Une référence sur cet objet Path
| Path& Castor::Path::operator= |
( |
Path const & |
p_data |
) |
|
Opérateur d'affectation par copie.
- Paramètres:
-
| [in] | p_data | L'objet Path à copier |
- Renvoie:
- Une référence sur cet objet Path
Documentation des données membres
Séparateur de chemin (dépendant de l'OS).
La documentation de cette classe a été générée à partir du fichier suivant :