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