libcrn  3.9.5
A document image processing library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
CRNData.h File Reference
#include <vector>
#include <CRNData/CRNInt.h>
#include <CRNData/CRNReal.h>
#include <CRNString.h>
#include <CRNStringUTF8.h>
#include <CRNIO/CRNPath.h>
#include <memory>
#include <CRNException.h>
#include <CRNMath/CRNProp3.h>
#include <cstring>
+ Include dependency graph for CRNData.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 crn
 
 crn::Data
 

Functions

UInt crn::Data::ToCRN (int i)
 Converts an int to CRN data. More...
 
UReal crn::Data::ToCRN (double d)
 Converts a double to CRN data. More...
 
UString crn::Data::ToCRN (const String &str)
 Converts a String to CRN data. More...
 
UStringUTF8 crn::Data::ToCRN (const StringUTF8 &str)
 Converts a StringUTF8 to CRN data. More...
 
UPath crn::Data::ToCRN (const Path &str)
 Converts a Path to CRN data. More...
 
UProp3 crn::Data::ToCRN (const Prop3 &val)
 Converts a Prop3 to CRN data. More...
 
template<typename T >
SObject crn::Data::ToCRN (std::shared_ptr< T > ptr)
 Converts a shared pointer to CRN data. More...
 
template<typename T >
UObject crn::Data::ToCRN (const T *ptr)
 Converts a pointer to CRN data (fails in not a Clonable object) More...
 
template<typename T >
UObject crn::Data::ToCRN (const T &obj)
 Converts an object to CRN data (fails in not a Clonable object) More...
 
template<typename T >
crn::Data::Convert (const Object &obj)
 Converts from a CRN object to another type. More...
 
template<>
int crn::Data::Convert (const Object &obj)
 Converts from a CRN object to int. More...
 
template<>
unsigned int crn::Data::Convert (const Object &obj)
 Converts from a CRN object to unsigned int. More...
 
template<>
double crn::Data::Convert (const Object &obj)
 Converts from a CRN object to double. More...
 
template<>
String crn::Data::Convert (const Object &obj)
 Converts from a CRN object to String. More...
 
template<>
StringUTF8 crn::Data::Convert (const Object &obj)
 Converts from a CRN object to StringUTF8. More...
 
template<>
Path crn::Data::Convert (const Object &obj)
 Converts from a CRN object to Path. More...
 
template<>
Prop3 crn::Data::Convert (const Object &obj)
 Converts from a CRN object to Prop3. More...
 
template<>
bool crn::Data::Convert (const Object &obj)
 Converts from a CRN object to bool. More...
 
crn::StringUTF8 crn::Data::ASCII85Encode (const uint8_t *const data, size_t len)
 Encodes any data into a printable string. More...
 
std::vector< uint8_t > crn::Data::ASCII85Decode (const crn::StringUTF8 &s)
 Decodes an ASCII85 string to a vector of bytes. More...