String routines to complement <string> && <cstring>:
Public Types | Public Member Functions | Private Attributes | List of all members
cc_val_cc< N > Class Template Reference

Public Types

enum  { chX ='@' }
 

Public Member Functions

 cc_val_cc ()
 
 cc_val_cc (const char *v)
 
bool check_ok ()
 
bool check_ok (unsigned n)
 
char * c_str ()
 
void set (const char *v)
 
void set ()
 

Private Attributes

char m_prev [2 *N]
 
char m_val [N]
 
char m_post [2 *N]
 

Detailed Description

template<unsigned N>
class cc_val_cc< N >

Definition at line 409 of file strnum_test.cpp.

Member Enumeration Documentation

◆ anonymous enum

template<unsigned N>
anonymous enum
Enumerator
chX 

Definition at line 414 of file strnum_test.cpp.

Constructor & Destructor Documentation

◆ cc_val_cc() [1/2]

template<unsigned N>
cc_val_cc< N >::cc_val_cc ( )
inline

Definition at line 415 of file strnum_test.cpp.

◆ cc_val_cc() [2/2]

template<unsigned N>
cc_val_cc< N >::cc_val_cc ( const char *  v)
inline

Definition at line 416 of file strnum_test.cpp.

Member Function Documentation

◆ check_ok() [1/2]

template<unsigned N>
bool cc_val_cc< N >::check_ok ( )
inline

Definition at line 417 of file strnum_test.cpp.

◆ check_ok() [2/2]

template<unsigned N>
bool cc_val_cc< N >::check_ok ( unsigned  n)
inline

Definition at line 424 of file strnum_test.cpp.

◆ c_str()

template<unsigned N>
char* cc_val_cc< N >::c_str ( )
inline

Definition at line 436 of file strnum_test.cpp.

◆ set() [1/2]

template<unsigned N>
void cc_val_cc< N >::set ( const char *  v)
inline

Definition at line 437 of file strnum_test.cpp.

◆ set() [2/2]

template<unsigned N>
void cc_val_cc< N >::set ( )
inline

Definition at line 442 of file strnum_test.cpp.

Member Data Documentation

◆ m_prev

template<unsigned N>
char cc_val_cc< N >::m_prev[2 *N]
private

Definition at line 410 of file strnum_test.cpp.

◆ m_val

template<unsigned N>
char cc_val_cc< N >::m_val[N]
private

Definition at line 411 of file strnum_test.cpp.

◆ m_post

template<unsigned N>
char cc_val_cc< N >::m_post[2 *N]
private

Definition at line 412 of file strnum_test.cpp.


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