Open Lighting Architecture  0.10.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Functions
Utils.h File Reference

Detailed Description

Miscellaneous string functions.

Include dependency graph for Utils.h:

Go to the source code of this file.

Namespaces

 ola
 The namespace containing all OLA symbols.
 

Functions

void ola::strings::CopyToFixedLengthBuffer (const std::string &input, char *buffer, unsigned int size)
 Copy a string to a fixed length buffer without NULL terminating. More...
 
template<size_t size>
void ola::strings::StrNCopy (char(&output)[size], const char *input)
 A safe version of strncpy that null-terminates the output string. More...