DdsJs/ddsjs_base.cpp
// Initialization of topic RequestedIncompatibleQosStatus field type.
Initialization of topic RequestedIncompatibleQosStatus field type.
Initialization of topic RequestedIncompatibleQosStatus field type .
void RequestedIncompatibleQosStatusField::Init(Local<Object> exports)
{
	Isolate *isolate = Isolate::GetCurrent();
	auto ctorFunc = FunctionTemplate::New(
		isolate,
		RequestedIncompatibleQosStatusField::New
	);
	Maybe< bool > setResult = exports->Set(
		isolate->GetCurrentContext(),
		String::NewFromUtf8(isolate, "RequestedIncompatibleQosStatus"),
		ctorFunc->GetFunction()
	);
	if (!setResult.FromMaybe(false))
	{
	}
	RequestedIncompatibleQosStatusField::total_countFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "total_count"));
	RequestedIncompatibleQosStatusField::total_count_changeFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "total_count_change"));
	RequestedIncompatibleQosStatusField::last_policy_idFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "last_policy_id"));
	RequestedIncompatibleQosStatusField::policiesFieldName.Reset(isolate,
		String::NewFromUtf8(isolate, "policies"));
}
void RequestedIncompatibleQosStatusField :: Init ( Local < Object > exports ) { Isolate * isolate = Isolate :: GetCurrent ( ) ; auto ctorFunc = FunctionTemplate :: New ( isolate , RequestedIncompatibleQosStatusField :: New ) ; Maybe < bool > setResult = exports -> Set ( isolate -> GetCurrentContext ( ) , String :: NewFromUtf8 ( isolate , " " ) , ctorFunc -> GetFunction ( ) ) ; if ( ! setResult . FromMaybe ( false ) ) { } RequestedIncompatibleQosStatusField :: total_countFieldName . Reset ( isolate , String :: NewFromUtf8 ( isolate , " " ) ) ; RequestedIncompatibleQosStatusField :: total_count_changeFieldName . Reset ( isolate , String :: NewFromUtf8 ( isolate , " " ) ) ; RequestedIncompatibleQosStatusField :: last_policy_idFieldName . Reset ( isolate , String :: NewFromUtf8 ( isolate , " " ) ) ; RequestedIncompatibleQosStatusField :: policiesFieldName . Reset ( isolate , String :: NewFromUtf8 ( isolate , " " ) ) ; }
Initialization of topic RequestedIncompatibleQosStatus field type.
Initialization of topic RequestedIncompatibleQosStatus field type .
// TODO: Throw exception