synfig-core  1.0.3
Classes | Namespaces | Macros | Typedefs | Functions
type.h File Reference

Template Header. More...

#include <cassert>
#include <vector>
#include <map>
#include <typeinfo>
#include "string.h"
#include "general.h"
#include "real.h"
#include "angle.h"
#include <ETL/handle>

Go to the source code of this file.

Classes

class  synfig::TypeAlias< T >
class  synfig::Operation
 Provides methods to create operation with Values. More...
class  synfig::Operation::GenericFuncs< T >
class  synfig::Operation::DefaultFuncs
struct  synfig::Operation::Description
class  synfig::Type
 Class for the Type of Values of Synfig. More...
struct  synfig::Type::Description
class  synfig::Type::OperationBookBase
class  synfig::Type::OperationBook< T >
struct  synfig::Type::StaticData

Namespaces

namespace  synfig
 Where every function and class of the synfig library can be found.
namespace  synfig::types_namespace

Macros

#define SYNFIG_DECLARE_TYPE_ALIAS(T)   TypeAlias< T > get_type_alias(T const&);
#define SYNFIG_IMPLEMENT_TYPE_ALIAS(T, Class)   TypeAlias< T > get_type_alias(T const&) { return TypeAlias< T >(Class::instance); }

Typedefs

typedef unsigned int synfig::TypeId

Functions

template<typename T >
TypeAlias< WeightedValue< T > > synfig::types_namespace::get_type_alias (WeightedValue< T > const &)
template<typename T1 , typename T2 >
TypeAlias< std::pair< T1, T2 > > synfig::types_namespace::get_type_alias (std::pair< T1, T2 > const &)

Detailed Description

Template Header.

$Id$

Macro Definition Documentation

#define SYNFIG_DECLARE_TYPE_ALIAS (   T)    TypeAlias< T > get_type_alias(T const&);
#define SYNFIG_IMPLEMENT_TYPE_ALIAS (   T,
  Class 
)    TypeAlias< T > get_type_alias(T const&) { return TypeAlias< T >(Class::instance); }