DdsJs/ddsjs_base.cpp
void LivelinessChangedStatusField::Init(Local<Object> exports)
{
	Isolate *isolate = Isolate::GetCurrent();

	auto ctorFunc = FunctionTemplate::New(
		isolate,
		LivelinessChangedStatusField::New
	);
	Maybe< bool > setResult = exports->Set(
		isolate->GetCurrentContext(),
		String::NewFromUtf8(isolate, "LivelinessChangedStatus"),
		ctorFunc->GetFunction()
	);
	if (!setResult.FromMaybe(false))
	{
		// TODO: Throw exception
	}

	LivelinessChangedStatusField::alive_countFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "alive_count"));
	LivelinessChangedStatusField::not_alive_countFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "not_alive_count"));
	LivelinessChangedStatusField::alive_count_changeFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "alive_count_change"));
	LivelinessChangedStatusField::not_alive_count_changeFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "not_alive_count_change"));
	LivelinessChangedStatusField::last_publication_handleFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "last_publication_handle"));

}
// Initialization of topic LivelinessChangedStatus field type.
Initialization of topic LivelinessChangedStatus field type.
Initialization of topic LivelinessChangedStatus field type .
void LivelinessChangedStatusField::Init(Local<Object> exports)
{
	Isolate *isolate = Isolate::GetCurrent();
	auto ctorFunc = FunctionTemplate::New(
		isolate,
		LivelinessChangedStatusField::New
	);
	Maybe< bool > setResult = exports->Set(
		isolate->GetCurrentContext(),
		String::NewFromUtf8(isolate, "LivelinessChangedStatus"),
		ctorFunc->GetFunction()
	);
	if (!setResult.FromMaybe(false))
	{
	}
	LivelinessChangedStatusField::alive_countFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "alive_count"));
	LivelinessChangedStatusField::not_alive_countFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "not_alive_count"));
	LivelinessChangedStatusField::alive_count_changeFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "alive_count_change"));
	LivelinessChangedStatusField::not_alive_count_changeFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "not_alive_count_change"));
	LivelinessChangedStatusField::last_publication_handleFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "last_publication_handle"));
}
void LivelinessChangedStatusField :: Init ( Local < Object > exports ) { Isolate * isolate = Isolate :: GetCurrent ( ) ; auto ctorFunc = FunctionTemplate :: New ( isolate , LivelinessChangedStatusField :: New ) ; Maybe < bool > setResult = exports -> Set ( isolate -> GetCurrentContext ( ) , String :: NewFromUtf8 ( isolate , " " ) , ctorFunc -> GetFunction ( ) ) ; if ( ! setResult . FromMaybe ( false ) ) { } LivelinessChangedStatusField :: alive_countFieldName . Reset ( isolate , String :: NewFromUtf8 ( isolate , " " ) ) ; LivelinessChangedStatusField :: not_alive_countFieldName . Reset ( isolate , String :: NewFromUtf8 ( isolate , " " ) ) ; LivelinessChangedStatusField :: alive_count_changeFieldName . Reset ( isolate , String :: NewFromUtf8 ( isolate , " " ) ) ; LivelinessChangedStatusField :: not_alive_count_changeFieldName . Reset ( isolate , String :: NewFromUtf8 ( isolate , " " ) ) ; LivelinessChangedStatusField :: last_publication_handleFieldName . Reset ( isolate , String :: NewFromUtf8 ( isolate , " " ) ) ; }
Initialization of topic LivelinessChangedStatus field type.
Initialization of topic LivelinessChangedStatus field type .
// TODO: Throw exception