MIRA
Public Member Functions | Public Attributes | Friends | List of all members
ToOct< T > Class Template Reference

Can be used with toString to convert values to their string oct representation. More...

#include <utils/ToString.h>

Public Member Functions

 ToOct (T v)
 
 operator T () const
 

Public Attributes

value
 

Friends

std::ostream & operator<< (std::ostream &oStream, const ToOct< T > &iValue)
 

Detailed Description

template<typename T>
class mira::ToOct< T >

Can be used with toString to convert values to their string oct representation.

std::string s = toString<ToOct<uint32>>(255);

Constructor & Destructor Documentation

◆ ToOct()

ToOct ( v)
inline

Member Function Documentation

◆ operator T()

operator T ( ) const
inline

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  oStream,
const ToOct< T > &  iValue 
)
friend

Member Data Documentation

◆ value

T value

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