Sierra Toolkit  Version of the Day
sierra::char_label_traits Class Reference

#include <String.hpp>

Static Public Member Functions

static size_t length (const char *c1)
 
static void convert (char *c, size_t n)
 
static int compare (const char *c1, const char *c2)
 

Detailed Description

All upper case, spaces and control characters converted to '_'. Does not support eof, stream types, or state types.

Definition at line 381 of file String.hpp.

Member Function Documentation

◆ length()

size_t sierra::char_label_traits::length ( const char *  c1)
static

Length of null-terminated string

Definition at line 64 of file String.cpp.

◆ convert()

void sierra::char_label_traits::convert ( char *  c,
size_t  n 
)
static

Convert 'n' characters

Definition at line 71 of file String.cpp.

◆ compare()

int sierra::char_label_traits::compare ( const char *  c1,
const char *  c2 
)
static

Compare null-terminated strings as per conversion

Definition at line 77 of file String.cpp.


The documentation for this class was generated from the following files: