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

#include <SafetyProfileSequence.h>

List of all members.

Static Public Member Functions

static CORBA::Charalloc (CORBA::ULong len)
static CORBA::Charempty ()
static CORBA::Chardup (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 25 of file SafetyProfileSequence.h.


Member Function Documentation

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

Definition at line 27 of file SafetyProfileSequence.h.

References FACE::string_alloc().

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

Here is the call graph for this function:

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

Definition at line 32 of file SafetyProfileSequence.h.

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

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

Definition at line 29 of file SafetyProfileSequence.h.

References FACE::string_dup().

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

Here is the call graph for this function:

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

Definition at line 28 of file SafetyProfileSequence.h.

References dup().

00028 { return dup(""); }

Here is the call graph for this function:

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

Definition at line 30 of file SafetyProfileSequence.h.

References FACE::string_free().

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

Here is the call graph for this function:


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 10 Aug 2018 for OpenDDS by  doxygen 1.6.1