static const int npos;
ACE_SString (ACE_Allocator *alloc = 0);
ACE_SString (const char *s, ACE_Allocator *alloc = 0);
s into dynamically allocated memory.
ACE_SString (const char *s, size_t len, ACE_Allocator *alloc = 0);
len chars of s into dynamically
allocated memory (will NUL terminate the result).
ACE_SString (const ACE_SString &);
ACE_SString (char c, ACE_Allocator *alloc = 0);
c into dynamically allocated memory.
~ACE_SString (void);
char operator [] (size_t slot) const;
slot'th character in the string (doesn't perform
bounds checking).
char &operator [] (size_t slot);
slot'th character by reference in the string
(doesn't perform bounds checking).
ACE_SString &operator = (const ACE_SString &);
ACE_SString substring (size_t offset, ssize_t length = -1) const;
ACE_SString substr (size_t offset, ssize_t length = -1) const;
u_long hash (void) const;
size_t length (void) const;
void rep (char *s);
const char *rep (void) const;
const char *fast_rep (void) const;
const char *c_str (void) const;
c_str and fast_rep.
int strstr (const ACE_SString &s) const;
int find (const ACE_SString &str, int pos = 0) const;
str starting at pos. Returns the slot of the first
location that matches, else npos.
int find (const char *s, int pos = 0) const;
s starting at pos. Returns the slot of the first
location that matches, else npos.
int find (char c, int pos = 0) const;
c starting at pos. Returns the slot of the first
location that matches, else npos.
int rfind (char c, int pos = npos) const;
c starting at pos (counting from the end). Returns the
slot of the first location that matches, else npos.
int operator == (const ACE_SString &s) const;
int operator < (const ACE_SString &s) const;
int operator > (const ACE_SString &s) const;
int operator != (const ACE_SString &s) const;
int compare (const ACE_SString &s) const;
strcmp-style comparison.
void dump (void) const;
ACE_ALLOC_HOOK_DECLARE;
ACE_Allocator *allocator_;
size_t len_;
char *rep_;
ACE_Reactor.
#include <ace/CORBA_Handler.h>
class ACE_ST_CORBA_Handler : public ACE_CORBA_Handler {
public:static ACE_CORBA_Handler *instance (void);virtual int handle_input (ACE_HANDLE);virtual int suspend (void);virtual int resume (void);size_t iterations (void);void iterations (size_t);void dump (void) const;ACE_ALLOC_HOOK_DECLARE;protected:void get_orbix_descriptors (void);ACE_ST_CORBA_Handler (void);virtual ~ACE_ST_CORBA_Handler (void);static void insert_handle (ACE_HANDLE);static void remove_handle (ACE_HANDLE);static void instance_cleaner (void *object, void *param);static ACE_ST_CORBA_Handler *instance_;size_t iterations_;static int set_callbacks_;static OrbixIOCallback previous_orbix_open_callback_;static OrbixIOCallback previous_orbix_close_callback_;};
ACE_MT_CORBA_Handler.
static ACE_CORBA_Handler *instance (void);