#include <platformstl/filesystem/cwd_stack.hpp>
push()
, and resetting to its previous value with pop()
. Public Types | ||||
typedef C | char_type | |||
typedef XP | exception_policy_type | |||
typedef stlsoft::basic_simple_string < C > | string_type | |||
typedef bool | bool_type | |||
typedef stlsoft::size_t | size_type | |||
Public Member Functions | ||||
string_type const & | top () const | |||
void | push (string_type const &directory) | |||
void | pop () | |||
| ||||
bool_type | try_pop () | |||
bool_type | empty () const | |||
Indicates whether the stack is empty. | ||||
bool_type | is_empty () const | |||
[DEPRECATED] Indicates whether the stack is empty | ||||
size_type | size () const | |||
Indicates the number of directories in the stack. |
void pop | ( | ) |
platformstl::platform_exception | Thrown if the directory |
bool_type try_pop | ( | ) |
bool_type empty | ( | ) | const |
Indicates whether the stack is empty.
bool_type is_empty | ( | ) | const |
size_type size | ( | ) | const |
Indicates the number of directories in the stack.