CernVM-FS  2.10.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
shortstring.h File Reference
#include <algorithm>
#include <cstring>
#include <string>
#include "atomic.h"
Include dependency graph for shortstring.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ShortString< StackSize, Type >
 

Typedefs

typedef ShortString
< kDefaultMaxPath, 0 > 
PathString
 
typedef ShortString
< kDefaultMaxName, 1 > 
NameString
 
typedef ShortString
< kDefaultMaxLink, 2 > 
LinkString
 

Variables

const unsigned char kDefaultMaxName = 25
 
const unsigned char kDefaultMaxLink = 25
 
const unsigned char kDefaultMaxPath = 200
 

Typedef Documentation

Definition at line 192 of file shortstring.h.

Definition at line 191 of file shortstring.h.

Definition at line 190 of file shortstring.h.

Variable Documentation

const unsigned char kDefaultMaxLink = 25

Definition at line 23 of file shortstring.h.

const unsigned char kDefaultMaxName = 25

This file is part of the CernVM File System.

Implements a string class that stores short strings on the stack and malloc's a std::string on the heap on overflow. Used for file names and path names that are usually small.

Definition at line 22 of file shortstring.h.

const unsigned char kDefaultMaxPath = 200

Definition at line 24 of file shortstring.h.