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

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

	ParticipantBuiltinTopicDataField::keyFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "key"));
	ParticipantBuiltinTopicDataField::user_dataFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "user_data"));

}
// Initialization of topic ParticipantBuiltinTopicData field type.
Initialization of topic ParticipantBuiltinTopicData field type.
Initialization of topic ParticipantBuiltinTopicData field type .
void ParticipantBuiltinTopicDataField::Init(Local<Object> exports)
{
	Isolate *isolate = Isolate::GetCurrent();
	auto ctorFunc = FunctionTemplate::New(
		isolate,
		ParticipantBuiltinTopicDataField::New
	);
	Maybe< bool > setResult = exports->Set(
		isolate->GetCurrentContext(),
		String::NewFromUtf8(isolate, "ParticipantBuiltinTopicData"),
		ctorFunc->GetFunction()
	);
	if (!setResult.FromMaybe(false))
	{
	}
	ParticipantBuiltinTopicDataField::keyFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "key"));
	ParticipantBuiltinTopicDataField::user_dataFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "user_data"));
}
void ParticipantBuiltinTopicDataField :: Init ( Local < Object > exports ) { Isolate * isolate = Isolate :: GetCurrent ( ) ; auto ctorFunc = FunctionTemplate :: New ( isolate , ParticipantBuiltinTopicDataField :: New ) ; Maybe < bool > setResult = exports -> Set ( isolate -> GetCurrentContext ( ) , String :: NewFromUtf8 ( isolate , " " ) , ctorFunc -> GetFunction ( ) ) ; if ( ! setResult . FromMaybe ( false ) ) { } ParticipantBuiltinTopicDataField :: keyFieldName . Reset ( isolate , String :: NewFromUtf8 ( isolate , " " ) ) ; ParticipantBuiltinTopicDataField :: user_dataFieldName . Reset ( isolate , String :: NewFromUtf8 ( isolate , " " ) ) ; }
Initialization of topic ParticipantBuiltinTopicData field type.
Initialization of topic ParticipantBuiltinTopicData field type .
// TODO: Throw exception