indigoX
common.hpp File Reference
#include <algorithm>
#include <iterator>
#include <memory>
#include <string>
#include <type_traits>
+ Include dependency graph for common.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  construct< T >
 

Namespaces

 cereal
 
 indigox
 Namespace for all graph related functionality.
 
 indigox::utils
 

Enumerations

enum  Option
 

Functions

std::string GetRandomString (size_t length, size_t seed=0)
 Generate a random string. More...
 
Option operator & (Option l, Option r)
 
Option operator| (Option l, Option r)
 
std::string ToLower (const std::string &s)
 Convert a string to lower case. More...
 
std::string ToUpper (const std::string &s)
 Convert a string to upper case. More...
 
std::string ToUpperFirst (const std::string &s)
 Convert a string to lower case with a single leading upper case. More...
 
template<typename T , typename __Iter >
__Iter WeakContainsShared (__Iter b, __Iter e, std::shared_ptr< T > x)
 Check if a given shared_ptr<T> is in a weak_ptr<T> container. More...