layer.h File Reference

Layer Class Header. More...

#include "string_decl.h"
#include <map>
#include <ETL/handle>
#include "real.h"
#include "string.h"
#include <sigc++/signal.h>
#include <sigc++/connection.h>
#include "node.h"
#include "time.h"
#include "guid.h"

Go to the source code of this file.

Namespaces

namespace  synfig

Classes

class  synfig::Layer
struct  synfig::Layer::BookEntry

Defines

#define SYNFIG_LAYER_MODULE_EXT   public: static const char name__[], version__[], cvs_id__[], local_name__[], category__[]; static Layer *create();
#define SYNFIG_LAYER_SET_NAME(class, x)   const char class::name__[]=x
 Sets the name of the layer.
#define SYNFIG_LAYER_SET_LOCAL_NAME(class, x)   const char class::local_name__[]=x;
 Sets the local name of the layer.
#define SYNFIG_LAYER_SET_CATEGORY(class, x)   const char class::category__[]=x
 Sets the category of the layer.
#define SYNFIG_LAYER_SET_VERSION(class, x)   const char class::version__[]=x
 Sets the version string for the layer.
#define SYNFIG_LAYER_SET_CVS_ID(class, x)   const char class::cvs_id__[]=x
 Sets the CVS ID string for the layer.
#define SYNFIG_LAYER_INIT(class)   synfig::Layer* class::create() { return new class(); }
#define IMPORT_PLUS(x, y)   if(param==#x && value.same_as(x)) { value.put(&x);{y;}return true;}
#define IMPORT_AS(x, y)   if(param==y && value.same_as(x)) { value.put(&x); return true;}
#define IMPORT(x)   IMPORT_AS(x,#x)
#define EXPORT_AS(x, y)   if(param==y) { return ValueBase(x); }
#define EXPORT(x)   EXPORT_AS(x,#x)
#define EXPORT_NAME()   if(param=="Name" || param=="name" || param=="name__") { return name__; } if(param=="local_name__") { return local_name__; }
#define EXPORT_VERSION()   if(param=="Version" || param=="version" || param=="version__") { return version__; }

Typedefs

typedef Vector synfig::Point


Detailed Description

Layer Class Header.

Id

Define Documentation

#define SYNFIG_LAYER_MODULE_EXT   public: static const char name__[], version__[], cvs_id__[], local_name__[], category__[]; static Layer *create();

Todo:
This needs to be documented further.

#define SYNFIG_LAYER_SET_NAME ( class,
 )     const char class::name__[]=x

Sets the name of the layer.

#define SYNFIG_LAYER_SET_LOCAL_NAME ( class,
 )     const char class::local_name__[]=x;

Sets the local name of the layer.

#define SYNFIG_LAYER_SET_CATEGORY ( class,
 )     const char class::category__[]=x

Sets the category of the layer.

#define SYNFIG_LAYER_SET_VERSION ( class,
 )     const char class::version__[]=x

Sets the version string for the layer.

#define SYNFIG_LAYER_SET_CVS_ID ( class,
 )     const char class::cvs_id__[]=x

Sets the CVS ID string for the layer.

#define SYNFIG_LAYER_INIT ( class   )     synfig::Layer* class::create() { return new class(); }

Todo:
This needs to be documented further.

#define IMPORT_PLUS ( x,
 )     if(param==#x && value.same_as(x)) { value.put(&x);{y;}return true;}

Todo:
This needs to be documented further.

#define IMPORT_AS ( x,
 )     if(param==y && value.same_as(x)) { value.put(&x); return true;}

Todo:
This needs to be documented further.

#define IMPORT (  )     IMPORT_AS(x,#x)

Todo:
This needs to be documented further.

#define EXPORT_AS ( x,
 )     if(param==y) { return ValueBase(x); }

Todo:
This needs to be documented further.

#define EXPORT (  )     EXPORT_AS(x,#x)

Todo:
This needs to be documented further.

 
#define EXPORT_NAME (  )     if(param=="Name" || param=="name" || param=="name__") { return name__; } if(param=="local_name__") { return local_name__; }

Todo:
This needs to be documented further.

 
#define EXPORT_VERSION (  )     if(param=="Version" || param=="version" || param=="version__") { return version__; }

Todo:
This needs to be documented further.


Generated on Wed Aug 15 05:00:23 2007 for synfig by  doxygen 1.5.3