#include <swftypes.h>
Public Member Functions | |
| tiny_string () | |
| tiny_string (const char *s, bool copy=false) | |
| tiny_string (const tiny_string &r) | |
| tiny_string (const std::string &r) | |
| ~tiny_string () | |
| tiny_string (int i) | |
| tiny_string (number_t d) | |
| tiny_string & | operator= (const tiny_string &s) |
| tiny_string & | operator= (const std::string &s) |
| tiny_string & | operator= (const char *s) |
| tiny_string & | operator+= (const char *s) |
| tiny_string & | operator+= (const tiny_string &r) |
| const tiny_string | operator+ (const tiny_string &r) |
| bool | operator< (const tiny_string &r) const |
| bool | operator== (const tiny_string &r) const |
| bool | operator!= (const tiny_string &r) const |
| bool | operator== (const char *r) const |
| bool | operator!= (const char *r) const |
| const char * | raw_buf () const |
| char | operator[] (int i) const |
| int | len () const |
| tiny_string | substr (int start, int end) const |
Private Types | |
| enum | TYPE { READONLY = 0, STATIC, DYNAMIC } |
Private Member Functions | |
| void | makePrivateCopy (const char *s) |
| void | createBuffer () |
| void | resetToStatic () |
Private Attributes | |
| char | _buf_static [TS_SIZE] |
| char * | buf |
| TYPE | type |
Friends | |
| std::ostream & | operator<< (std::ostream &s, const tiny_string &r) |
Definition at line 52 of file swftypes.h.
enum lightspark::tiny_string::TYPE [private] |
Definition at line 56 of file swftypes.h.
| lightspark::tiny_string::tiny_string | ( | ) | [inline] |
Definition at line 83 of file swftypes.h.
| lightspark::tiny_string::tiny_string | ( | const char * | s, | |
| bool | copy = false | |||
| ) | [inline] |
Definition at line 84 of file swftypes.h.
| lightspark::tiny_string::tiny_string | ( | const tiny_string & | r | ) | [inline] |
Definition at line 91 of file swftypes.h.
| lightspark::tiny_string::tiny_string | ( | const std::string & | r | ) | [inline] |
Definition at line 98 of file swftypes.h.
| lightspark::tiny_string::~tiny_string | ( | ) | [inline] |
Definition at line 114 of file swftypes.h.
| lightspark::tiny_string::tiny_string | ( | int | i | ) | [inline, explicit] |
Definition at line 118 of file swftypes.h.
| lightspark::tiny_string::tiny_string | ( | number_t | d | ) | [inline, explicit] |
Definition at line 122 of file swftypes.h.
| void lightspark::tiny_string::createBuffer | ( | ) | [inline, private] |
Definition at line 70 of file swftypes.h.
| int lightspark::tiny_string::len | ( | ) | const [inline] |
Definition at line 227 of file swftypes.h.
| void lightspark::tiny_string::makePrivateCopy | ( | const char * | s | ) | [inline, private] |
Definition at line 62 of file swftypes.h.
| bool lightspark::tiny_string::operator!= | ( | const char * | r | ) | const [inline] |
Definition at line 215 of file swftypes.h.
| bool lightspark::tiny_string::operator!= | ( | const tiny_string & | r | ) | const [inline] |
Definition at line 207 of file swftypes.h.
| const tiny_string lightspark::tiny_string::operator+ | ( | const tiny_string & | r | ) | [inline] |
Definition at line 193 of file swftypes.h.
| tiny_string& lightspark::tiny_string::operator+= | ( | const tiny_string & | r | ) | [inline] |
Definition at line 177 of file swftypes.h.
| tiny_string& lightspark::tiny_string::operator+= | ( | const char * | s | ) | [inline] |
Definition at line 161 of file swftypes.h.
| bool lightspark::tiny_string::operator< | ( | const tiny_string & | r | ) | const [inline] |
Definition at line 199 of file swftypes.h.
| tiny_string& lightspark::tiny_string::operator= | ( | const char * | s | ) | [inline] |
Definition at line 154 of file swftypes.h.
| tiny_string& lightspark::tiny_string::operator= | ( | const std::string & | s | ) | [inline] |
Definition at line 135 of file swftypes.h.
| tiny_string& lightspark::tiny_string::operator= | ( | const tiny_string & | s | ) | [inline] |
Definition at line 126 of file swftypes.h.
| bool lightspark::tiny_string::operator== | ( | const char * | r | ) | const [inline] |
Definition at line 211 of file swftypes.h.
| bool lightspark::tiny_string::operator== | ( | const tiny_string & | r | ) | const [inline] |
Definition at line 203 of file swftypes.h.
| char lightspark::tiny_string::operator[] | ( | int | i | ) | const [inline] |
Definition at line 223 of file swftypes.h.
| const char* lightspark::tiny_string::raw_buf | ( | ) | const [inline] |
Definition at line 219 of file swftypes.h.
| void lightspark::tiny_string::resetToStatic | ( | ) | [inline, private] |
Definition at line 75 of file swftypes.h.
| tiny_string lightspark::tiny_string::substr | ( | int | start, | |
| int | end | |||
| ) | const [inline] |
Definition at line 231 of file swftypes.h.
| std::ostream& operator<< | ( | std::ostream & | s, | |
| const tiny_string & | r | |||
| ) | [friend] |
char lightspark::tiny_string::_buf_static[TS_SIZE] [private] |
Definition at line 58 of file swftypes.h.
char* lightspark::tiny_string::buf [private] |
Definition at line 59 of file swftypes.h.
TYPE lightspark::tiny_string::type [private] |
Definition at line 60 of file swftypes.h.
1.6.3