The Pedigree Project  0.1
Classes | Public Member Functions | Private Attributes | Friends | List of all members
StaticCord< N > Class Template Reference

#include <StaticCord.h>

+ Collaboration diagram for StaticCord< N >:

Classes

class  CordIterator
 
struct  CordSegment
 

Public Member Functions

 StaticCord (const StaticCord &other)
 
StaticCordoperator= (const StaticCord &s)
 
void assign (const StaticCord &other)
 
void clear ()
 
size_t length () const
 
char operator[] (size_t index) const
 
String toString () const
 
void append (const char *s, size_t len=0)
 
CordIterator begin () const
 
CordIterator end () const
 

Private Attributes

CordSegment m_Segments [N]
 
size_t m_Length = 0
 
size_t m_NumSegments = 0
 

Friends

class CordIterator
 

Detailed Description

template<unsigned int N>
class StaticCord< N >

StaticCord is a variant of Cord which avoids allocating memory at the expense of features.

Definition at line 38 of file StaticCord.h.


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