|
ETISS 0.11.2
ExtendableTranslatingInstructionSetSimulator(version0.11.2)
|
#include <FastString.h>

Public Member Functions | |
| template<typename... T> | |
| form_string (T... str) | |
| template<typename T > | |
| std::enable_if< std::is_integral< T >::value, void > | write_dec (unsigned field, T value) |
| void | write (unsigned field, const char *buf, size_t length) |
| void | writet (unsigned field, const char *buf, size_t length, char terminator=' ', char fill=' ') |
| char * | c_str () |
| const char * | c_str () const |
Private Member Functions | |
| size_t | char_size (unsigned, size_t *, bool *) |
| terminates template recursion | |
| template<typename... O> | |
| size_t | char_size (unsigned pos, size_t *size, bool *isPlaceholder, const char *s, O... others) |
| template<typename... O> | |
| size_t | char_size (unsigned pos, size_t *size, bool *isPlaceholder, size_t len, O... others) |
| void | char_copy (unsigned, char *, size_t *) |
| terminates template recursion | |
| template<typename... O> | |
| void | char_copy (unsigned pos, char *buf, size_t *size, const char *s, O... others) |
| template<typename... O> | |
| void | char_copy (unsigned pos, char *buf, size_t *size, size_t, O... others) |
Private Attributes | |
| char * | buffer |
| size_t | size |
| std::vector< std::pair< size_t, size_t > > | fields |
| list of field in the form_string. (offset,length) pairs | |
Definition at line 49 of file FastString.h.
|
inline |
Definition at line 92 of file FastString.h.
References buffer, char_copy(), char_size(), fields, and size.

|
inline |
Definition at line 184 of file FastString.h.
References buffer.
Referenced by etiss::string::operator<<().

|
inline |
Definition at line 185 of file FastString.h.
References buffer.
|
inlineprivate |
Definition at line 78 of file FastString.h.
References char_copy(), memcpy(), s, and size.

|
inlineprivate |
Definition at line 84 of file FastString.h.
References char_copy(), memset(), and size.

|
inlineprivate |
terminates template recursion
Definition at line 76 of file FastString.h.
Referenced by char_copy(), char_copy(), and form_string().

|
inlineprivate |
Definition at line 60 of file FastString.h.
References char_size(), s, and size.

|
inlineprivate |
Definition at line 67 of file FastString.h.
References char_size(), and size.

terminates template recursion
Definition at line 58 of file FastString.h.
Referenced by char_size(), char_size(), and form_string().

|
inline |
Definition at line 148 of file FastString.h.
References buffer, ETISS_SRCLOC, etiss::FATALERROR, fields, length(), etiss::log(), memcpy(), and memset().

|
inline |
Definition at line 118 of file FastString.h.
References buffer, c, ETISS_SRCLOC, etiss::FATALERROR, fields, and etiss::log().

|
inline |
Definition at line 165 of file FastString.h.
References buffer, ETISS_SRCLOC, etiss::FATALERROR, fields, length(), etiss::log(), memcpy(), and memset().

|
private |
Definition at line 52 of file FastString.h.
Referenced by c_str(), c_str(), form_string(), write(), write_dec(), and writet().
list of field in the form_string. (offset,length) pairs
Definition at line 54 of file FastString.h.
Referenced by form_string(), write(), write_dec(), and writet().
|
private |
Definition at line 53 of file FastString.h.
Referenced by char_copy(), char_copy(), char_size(), char_size(), and form_string().