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