27 #include "../../../../dataaccess/dataset/Sequence.h" 28 #include "../../common/Utils.h" 32 #include <boost/cstdint.hpp> 36 return ::v8::Undefined();
41 return ::v8::Undefined();
46 return ::v8::Undefined();
51 return ::v8::Undefined();
56 return ::v8::Undefined();
61 return ::v8::Undefined();
66 return ::v8::Undefined();
71 return ::v8::Undefined();
76 return ::v8::Undefined();
81 return ::v8::Undefined();
86 return ::v8::Undefined();
91 return ::v8::Undefined();
96 return ::v8::Undefined();
101 return ::v8::Undefined();
106 return ::v8::Undefined();
111 return ::v8::Undefined();
116 return ::v8::Undefined();
121 return ::v8::Undefined();
126 return ::v8::Undefined();
131 return ::v8::Undefined();
155 return ::v8::Undefined();
160 ::v8::Local<::v8::FunctionTemplate> jsequence = ::v8::FunctionTemplate::New(
Sequence_Constructor);
162 global->Set(::v8::String::New(
"TeSequence"), jsequence->GetFunction());
171 ::v8::Local<::v8::FunctionTemplate> result = ::v8::FunctionTemplate::New();
172 ::v8::Handle<::v8::ObjectTemplate> prototype = result->PrototypeTemplate();
174 prototype->Set(::v8::String::NewSymbol(
"getId"), ::v8::FunctionTemplate::New(
Sequence_GetId));
175 prototype->Set(::v8::String::NewSymbol(
"setId"), ::v8::FunctionTemplate::New(
Sequence_SetId));
176 prototype->Set(::v8::String::NewSymbol(
"getName"), ::v8::FunctionTemplate::New(
Sequence_GetName));
177 prototype->Set(::v8::String::NewSymbol(
"setName"), ::v8::FunctionTemplate::New(
Sequence_SetName));
178 prototype->Set(::v8::String::NewSymbol(
"getIncrement"), ::v8::FunctionTemplate::New(
Sequence_GetIncrement));
179 prototype->Set(::v8::String::NewSymbol(
"setIncrement"), ::v8::FunctionTemplate::New(
Sequence_SetIncrement));
180 prototype->Set(::v8::String::NewSymbol(
"getMinValue"), ::v8::FunctionTemplate::New(
Sequence_GetMinValue));
181 prototype->Set(::v8::String::NewSymbol(
"setMinValue"), ::v8::FunctionTemplate::New(
Sequence_SetMinvalue));
182 prototype->Set(::v8::String::NewSymbol(
"getMaxValue"), ::v8::FunctionTemplate::New(
Sequence_GetMaxValue));
183 prototype->Set(::v8::String::NewSymbol(
"setMaxValue"), ::v8::FunctionTemplate::New(
Sequence_SetMaxValue));
184 prototype->Set(::v8::String::NewSymbol(
"getStartValue"), ::v8::FunctionTemplate::New(
Sequence_GetStartValue));
185 prototype->Set(::v8::String::NewSymbol(
"setStartValue"), ::v8::FunctionTemplate::New(
Sequence_SetStartValue));
188 prototype->Set(::v8::String::NewSymbol(
"isCycled"), ::v8::FunctionTemplate::New(
Sequence_IsCycled));
189 prototype->Set(::v8::String::NewSymbol(
"setAsNoCycle"), ::v8::FunctionTemplate::New(
Sequence_SetAsNoCycle));
190 prototype->Set(::v8::String::NewSymbol(
"getOwner"), ::v8::FunctionTemplate::New(
Sequence_GetOwner));
191 prototype->Set(::v8::String::NewSymbol(
"setOwner"), ::v8::FunctionTemplate::New(
Sequence_SetOwner));
192 prototype->Set(::v8::String::NewSymbol(
"getCatalog"), ::v8::FunctionTemplate::New(
Sequence_GetCatalog));
193 prototype->Set(::v8::String::NewSymbol(
"setCatalog"), ::v8::FunctionTemplate::New(
Sequence_SetCatalog));
::v8::Handle<::v8::Value > Sequence_SetId(const ::v8::Arguments &args)
::v8::Handle<::v8::Value > Sequence_GetOwner(const ::v8::Arguments &args)
::v8::Handle<::v8::Value > Sequence_SetOwner(const ::v8::Arguments &args)
::v8::Handle<::v8::Value > Sequence_GetCachedValues(const ::v8::Arguments &args)
::v8::Handle<::v8::Value > Sequence_GetStartValue(const ::v8::Arguments &args)
::v8::Handle<::v8::Value > Sequence_SetMinvalue(const ::v8::Arguments &args)
JavaScript exporting routine for the TerraLib Data Access module.
::v8::Handle<::v8::Value > Sequence_SetName(const ::v8::Arguments &args)
::v8::Handle<::v8::Value > Sequence_GetMaxValue(const ::v8::Arguments &args)
::v8::Handle<::v8::Value > Sequence_GetId(const ::v8::Arguments &args)
::v8::Handle<::v8::Value > Sequence_GetMinValue(const ::v8::Arguments &args)
::v8::Persistent<::v8::FunctionTemplate > & GetSequenceTemplate()
It returns a reference to the persistent template of a Sequence object.
::v8::Handle<::v8::Value > Sequence_SetMaxValue(const ::v8::Arguments &args)
::v8::Handle<::v8::Value > Sequence_GetName(const ::v8::Arguments &args)
void RegisterSequence(::v8::Local<::v8::Object > &global)
It registers the Sequence class.
::v8::Handle<::v8::Value > Sequence_SetCatalog(const ::v8::Arguments &args)
::v8::Handle<::v8::Value > Sequence_SetStartValue(const ::v8::Arguments &args)
::v8::Handle<::v8::Value > Sequence_IsCycled(const ::v8::Arguments &args)
::v8::Handle<::v8::Value > Sequence_GetCatalog(const ::v8::Arguments &args)
::v8::Handle<::v8::Value > Sequence_Constructor(const ::v8::Arguments &args)
::v8::Handle<::v8::Value > Sequence_SetCachedValues(const ::v8::Arguments &args)
::v8::Handle<::v8::Value > Sequence_SetAsNoCycle(const ::v8::Arguments &args)
static::v8::Persistent<::v8::FunctionTemplate > sdset_sequence_template
::v8::Handle<::v8::Value > Sequence_GetIncrement(const ::v8::Arguments &args)
::v8::Handle<::v8::Value > Sequence_SetIncrement(const ::v8::Arguments &args)