public Scalar(QName name, FASTType type, OperatorCodec operatorCodec, ScalarValue defaultValue, bool optional) : base(name, optional) { InitBlock(); operator_Renamed = operatorCodec.Operator; this.operatorCodec = operatorCodec; dictionary = "global"; this.defaultValue = defaultValue ?? ScalarValue.UNDEFINED; this.type = type; typeCodec = type.GetCodec(operator_Renamed, optional); initialValue = ((defaultValue == null) || defaultValue.Undefined)?this.type.DefaultValue:defaultValue; operator_Renamed.Validate(this); }
public Scalar(QName name, FASTType type, Operator.Operator operator_Renamed, ScalarValue defaultValue, bool optional) : base(name, optional) { InitBlock(); this.operator_Renamed = operator_Renamed; operatorCodec = operator_Renamed.GetCodec(type); dictionary = Dictionary_Fields.GLOBAL; this.defaultValue = defaultValue ?? ScalarValue.UNDEFINED; this.type = type; typeCodec = type.GetCodec(operator_Renamed, optional); initialValue = ((defaultValue == null) || defaultValue.Undefined)?this.type.DefaultValue:defaultValue; operator_Renamed.Validate(this); }
protected IntegerType(string typeName, long minValue, long maxValue, TypeCodec codec, TypeCodec nullableCodec) : base(typeName, codec, nullableCodec) { this.minValue = minValue; this.maxValue = maxValue; }
public DateType(System.Globalization.DateTimeFormatInfo dateFormat, TypeCodec dateCodec) : base("date") { dateFormatter = dateFormat; this.dateCodec = dateCodec; }
protected SimpleType(string typeName, TypeCodec codec, TypeCodec nullableCodec) : base(typeName) { this.codec = codec; this.nullableCodec = nullableCodec; }
public StringType(string typeName, TypeCodec codec, TypeCodec nullableCodec) : base(typeName, codec, nullableCodec) { }