DdsJs/ddsjs_base.cpp
// Initialization of topic PublicationBuiltinTopicData field type.
Initialization of topic PublicationBuiltinTopicData field type.
Initialization of topic PublicationBuiltinTopicData field type .
void PublicationBuiltinTopicDataField::Init(Local<Object> exports)
{
	Isolate *isolate = Isolate::GetCurrent();
	auto ctorFunc = FunctionTemplate::New(
		isolate,
		PublicationBuiltinTopicDataField::New
	);
	Maybe< bool > setResult = exports->Set(
		isolate->GetCurrentContext(),
		String::NewFromUtf8(isolate, "PublicationBuiltinTopicData"),
		ctorFunc->GetFunction()
	);
	if (!setResult.FromMaybe(false))
	{
	}
	PublicationBuiltinTopicDataField::keyFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "key"));
	PublicationBuiltinTopicDataField::participant_keyFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "participant_key"));
	PublicationBuiltinTopicDataField::topic_nameFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "topic_name"));
	PublicationBuiltinTopicDataField::type_nameFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "type_name"));
	PublicationBuiltinTopicDataField::durabilityFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "durability"));
	PublicationBuiltinTopicDataField::durability_serviceFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "durability_service"));
	PublicationBuiltinTopicDataField::deadlineFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "deadline"));
	PublicationBuiltinTopicDataField::latency_budgetFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "latency_budget"));
	PublicationBuiltinTopicDataField::livelinessFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "liveliness"));
	PublicationBuiltinTopicDataField::reliabilityFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "reliability"));
	PublicationBuiltinTopicDataField::lifespanFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "lifespan"));
	PublicationBuiltinTopicDataField::user_dataFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "user_data"));
	PublicationBuiltinTopicDataField::ownershipFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "ownership"));
	PublicationBuiltinTopicDataField::ownership_strengthFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "ownership_strength"));
	PublicationBuiltinTopicDataField::destination_orderFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "destination_order"));
	PublicationBuiltinTopicDataField::presentationFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "presentation"));
	PublicationBuiltinTopicDataField::partitionFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "partition"));
	PublicationBuiltinTopicDataField::topic_dataFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "topic_data"));
	PublicationBuiltinTopicDataField::group_dataFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "group_data"));
}
void PublicationBuiltinTopicDataField :: Init ( Local < Object > exports ) { Isolate * isolate = Isolate :: GetCurrent ( ) ; auto ctorFunc = FunctionTemplate :: New ( isolate , PublicationBuiltinTopicDataField :: New ) ; Maybe < bool > setResult = exports -> Set ( isolate -> GetCurrentContext ( ) , String :: NewFromUtf8 ( isolate , " " ) , ctorFunc -> GetFunction ( ) ) ; if ( ! setResult . FromMaybe ( false ) ) { } PublicationBuiltinTopicDataField :: keyFieldName . Reset ( isolate , String :: NewFromUtf8 ( isolate , " " ) ) ; PublicationBuiltinTopicDataField :: participant_keyFieldName . Reset ( isolate , String :: NewFromUtf8 ( isolate , " " ) ) ; PublicationBuiltinTopicDataField :: topic_nameFieldName . Reset ( isolate , String :: NewFromUtf8 ( isolate , " " ) ) ; PublicationBuiltinTopicDataField :: type_nameFieldName . Reset ( isolate , String :: NewFromUtf8 ( isolate , " " ) ) ; PublicationBuiltinTopicDataField :: durabilityFieldName . Reset ( isolate , String :: NewFromUtf8 ( isolate , " " ) ) ; PublicationBuiltinTopicDataField :: durability_serviceFieldName . Reset ( isolate , String :: NewFromUtf8 ( isolate , " " ) ) ; PublicationBuiltinTopicDataField :: deadlineFieldName . Reset ( isolate , String :: NewFromUtf8 ( isolate , " " ) ) ; PublicationBuiltinTopicDataField :: latency_budgetFieldName . Reset ( isolate , String :: NewFromUtf8 ( isolate , " " ) ) ; PublicationBuiltinTopicDataField :: livelinessFieldName . Reset ( isolate , String :: NewFromUtf8 ( isolate , " " ) ) ; PublicationBuiltinTopicDataField :: reliabilityFieldName . Reset ( isolate , String :: NewFromUtf8 ( isolate , " " ) ) ; PublicationBuiltinTopicDataField :: lifespanFieldName . Reset ( isolate , String :: NewFromUtf8 ( isolate , " " ) ) ; PublicationBuiltinTopicDataField :: user_dataFieldName . Reset ( isolate , String :: NewFromUtf8 ( isolate , " " ) ) ; PublicationBuiltinTopicDataField :: ownershipFieldName . Reset ( isolate , String :: NewFromUtf8 ( isolate , " " ) ) ; PublicationBuiltinTopicDataField :: ownership_strengthFieldName . Reset ( isolate , String :: NewFromUtf8 ( isolate , " " ) ) ; PublicationBuiltinTopicDataField :: destination_orderFieldName . Reset ( isolate , String :: NewFromUtf8 ( isolate , " " ) ) ; PublicationBuiltinTopicDataField :: presentationFieldName . Reset ( isolate , String :: NewFromUtf8 ( isolate , " " ) ) ; PublicationBuiltinTopicDataField :: partitionFieldName . Reset ( isolate , String :: NewFromUtf8 ( isolate , " " ) ) ; PublicationBuiltinTopicDataField :: topic_dataFieldName . Reset ( isolate , String :: NewFromUtf8 ( isolate , " " ) ) ; PublicationBuiltinTopicDataField :: group_dataFieldName . Reset ( isolate , String :: NewFromUtf8 ( isolate , " " ) ) ; }
Initialization of topic PublicationBuiltinTopicData field type.
Initialization of topic PublicationBuiltinTopicData field type .
// TODO: Throw exception