OpenDDS::SafetyProfile::StringTraits< CORBA::Char > Struct Template Reference

#include <SafetyProfileSequence.h>

List of all members.

Static Public Member Functions

static CORBA::Char * alloc (CORBA::ULong len)
static CORBA::Char * empty ()
static CORBA::Char * dup (const CORBA::Char *s)
static void free (CORBA::Char *s)
static int cmp (const CORBA::Char *lhs, const CORBA::Char *rhs)


Detailed Description

template<>
struct OpenDDS::SafetyProfile::StringTraits< CORBA::Char >

Definition at line 24 of file SafetyProfileSequence.h.


Member Function Documentation

static CORBA::Char* OpenDDS::SafetyProfile::StringTraits< CORBA::Char >::alloc ( CORBA::ULong  len  )  [inline, static]

Definition at line 26 of file SafetyProfileSequence.h.

References CORBA::string_alloc().

00026 { return CORBA::string_alloc(len); }

static int OpenDDS::SafetyProfile::StringTraits< CORBA::Char >::cmp ( const CORBA::Char *  lhs,
const CORBA::Char *  rhs 
) [inline, static]

Definition at line 31 of file SafetyProfileSequence.h.

00032     {
00033       return std::strcmp(lhs, rhs);
00034     }

static CORBA::Char* OpenDDS::SafetyProfile::StringTraits< CORBA::Char >::dup ( const CORBA::Char *  s  )  [inline, static]

Definition at line 28 of file SafetyProfileSequence.h.

References CORBA::string_dup().

00028 { return CORBA::string_dup(s); }

static CORBA::Char* OpenDDS::SafetyProfile::StringTraits< CORBA::Char >::empty (  )  [inline, static]

Definition at line 27 of file SafetyProfileSequence.h.

00027 { return dup(""); }

static void OpenDDS::SafetyProfile::StringTraits< CORBA::Char >::free ( CORBA::Char *  s  )  [inline, static]

Definition at line 29 of file SafetyProfileSequence.h.

References CORBA::string_free().

00029 { if (s) CORBA::string_free(s); }


The documentation for this struct was generated from the following file:
Generated on Fri Feb 12 20:06:51 2016 for OpenDDS by  doxygen 1.4.7