TuttleOFX  1
TuttleOFX/libraries/tuttle/src/tuttle/host/ofx/attribute/OfxhClipDescriptor.cpp
Go to the documentation of this file.
00001 #include "OfxhClipDescriptor.hpp"
00002 
00003 namespace tuttle {
00004 namespace host {
00005 namespace ofx {
00006 namespace attribute {
00007 
00008 /**
00009  * descriptor
00010  */
00011 OfxhClipDescriptor::OfxhClipDescriptor()
00012         : attribute::OfxhAttributeDescriptor()
00013 {
00014         /// properties common to the desciptor and instance
00015         /// the desc and set them, the instance cannot
00016         static const property::OfxhPropSpec clipDescriptorStuffs[] = {
00017                 { kOfxPropType, property::ePropTypeString, 1, true, kOfxTypeClip },
00018                 { kOfxImageClipPropOptional, property::ePropTypeInt, 1, false, "0" },
00019                 { 0 },
00020         };
00021 
00022         getEditableProperties().addProperties( clipDescriptorStuffs );
00023 }
00024 
00025 /**
00026  * descriptor
00027  */
00028 OfxhClipDescriptor::OfxhClipDescriptor( const property::OfxhSet& properties )
00029         : attribute::OfxhAttributeDescriptor( properties )
00030 {
00031         /// properties common to the desciptor and instance
00032         /// the desc and set them, the instance cannot
00033         static const property::OfxhPropSpec clipDescriptorStuffs[] = {
00034                 { kOfxPropType, property::ePropTypeString, 1, true, kOfxTypeClip },
00035                 { kOfxImageClipPropOptional, property::ePropTypeInt, 1, false, "0" },
00036                 { 0 },
00037         };
00038 
00039         getEditableProperties().addProperties( clipDescriptorStuffs );
00040 }
00041 
00042 OfxhClipDescriptor::~OfxhClipDescriptor()
00043 {}
00044 
00045 }
00046 }
00047 }
00048 }