|
HDK
|
#include <PRM_StringRep.h>
Public Member Functions | |
| PRM_StringRep () | |
| ~PRM_StringRep () | |
| void | get (PRM_SpinLock &lock, UT_WorkBuffer &result) |
| Thread-safe accessors. More... | |
| void | get (PRM_SpinLock &lock, UT_String &result) |
| Thread-safe accessors. More... | |
| void | harden (PRM_SpinLock &lock, const char *source) |
| Thread-safe accessors. More... | |
| void | hardenIfNeeded (PRM_SpinLock &lock, const char *source) |
| Thread-safe accessors. More... | |
| const char * | unsafeGet () const |
| Non-thread-safe accessors. More... | |
| void | unsafeHarden (const char *str) |
| Non-thread-safe accessors. More... | |
| void | unsafeAdopt (UT_String &str) |
| Non-thread-safe accessors. More... | |
| void | unsafeHarden (const PRM_StringRep &str) |
| Non-thread-safe accessors. More... | |
| exint | getMemoryUsage () const |
| Non-thread-safe accessors. More... | |
| bool | findString (const char *str, bool fullword, bool usewildcards) const |
| Non-thread-safe accessors. More... | |
| bool | findVariable (const char *str) const |
| Non-thread-safe accessors. More... | |
A specialized deep string class that implements a special case of hazard pointers where only 1 read-lock per thread for any PRM_StringRep object can be active.
Definition at line 24 of file PRM_StringRep.h.
|
inline |
Definition at line 27 of file PRM_StringRep.h.
|
inline |
Definition at line 31 of file PRM_StringRep.h.
| bool PRM_StringRep::findString | ( | const char * | str, |
| bool | fullword, | ||
| bool | usewildcards | ||
| ) | const |
Non-thread-safe accessors.
| bool PRM_StringRep::findVariable | ( | const char * | str | ) | const |
Non-thread-safe accessors.
| void PRM_StringRep::get | ( | PRM_SpinLock & | lock, |
| UT_WorkBuffer & | result | ||
| ) |
Thread-safe accessors.
| void PRM_StringRep::get | ( | PRM_SpinLock & | lock, |
| UT_String & | result | ||
| ) |
Thread-safe accessors.
| exint PRM_StringRep::getMemoryUsage | ( | ) | const |
Non-thread-safe accessors.
| void PRM_StringRep::harden | ( | PRM_SpinLock & | lock, |
| const char * | source | ||
| ) |
Thread-safe accessors.
| void PRM_StringRep::hardenIfNeeded | ( | PRM_SpinLock & | lock, |
| const char * | source | ||
| ) |
Thread-safe accessors.
Non-thread-safe accessors.
Definition at line 57 of file PRM_StringRep.h.
|
inline |
Non-thread-safe accessors.
Definition at line 50 of file PRM_StringRep.h.
|
inline |
Non-thread-safe accessors.
Definition at line 52 of file PRM_StringRep.h.
|
inline |
Non-thread-safe accessors.
Definition at line 62 of file PRM_StringRep.h.