|
|
|
|
|
|
|
|
|
|
|
|||||||
#include <winstl_file_path_buffer.h>
Public Types | |
| typedef basic_file_path_buffer< C, A > | class_type |
| The current parameterisation of the type. | |
| typedef buffer_type::value_type | value_type |
| The value type. | |
| typedef value_type & | reference |
| The reference type. | |
| typedef value_type const & | const_reference |
| The non-mutating (const) reference type. | |
| typedef buffer_type::size_type | size_type |
| The size type. | |
Public Methods | |
| basic_file_path_buffer () | |
| Default constructor. | |
| value_type const * | c_str () const |
| Returns a pointer to a nul-terminated string. | |
| reference | operator[] (size_t index) |
| Returns a mutable (non-const) pointer to the internal buffer. | |
| const_reference | operator[] (size_t index) const |
| Returns a non-mutable (const) pointer to the internal buffer. | |
| size_type | size () const |
| Returns the size of the internal buffer. | |
Static Public Methods | |
| void | refresh () winstl_throw_0() |
| Causes the drives to be examined again for the next instance. | |
This class is a non-template class primarily so that separate instantiations are not created for each instantiation of the basic_file_path_buffer.
This class provides a simple function, which is to provide the maximum path length for the host. This information is then cached due to the static nature of the get_drivesvar_() method, although it can be reset by calling the refresh() method on the buffer class.
| C | The character type |
| A | The allocator type |
| CCH |
The size of the internal member path structure. On translators that support default template arguments this default to (1 + _MAX_PATH) |
|
|
The current parameterisation of the type.
|
|
|
The non-mutating (const) reference type.
|
|
|
The reference type.
|
|
|
The size type.
|
|
|
The value type.
|
|
|
Default constructor.
|
|
|
Returns a pointer to a nul-terminated string.
|
|
|
Returns a non-mutable (const) pointer to the internal buffer.
|
|
|
Returns a mutable (non-const) pointer to the internal buffer.
|
|
|
Causes the drives to be examined again for the next instance.
|
|
|
Returns the size of the internal buffer.
|
|
|
| STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004 |