Exemplo n.º 1
0
        public CrsT UnPack()
        {
            var _o = new CrsT();

            this.UnPackTo(_o);
            return(_o);
        }
Exemplo n.º 2
0
 public void UnPackTo(CrsT _o)
 {
     _o.Org         = this.Org;
     _o.Code        = this.Code;
     _o.Name        = this.Name;
     _o.Description = this.Description;
     _o.Wkt         = this.Wkt;
     _o.CodeString  = this.CodeString;
 }
Exemplo n.º 3
0
        public static Offset <FlatGeobuf.Crs> Pack(FlatBufferBuilder builder, CrsT _o)
        {
            if (_o == null)
            {
                return(default(Offset <FlatGeobuf.Crs>));
            }
            var _org         = _o.Org == null ? default(StringOffset) : builder.CreateString(_o.Org);
            var _name        = _o.Name == null ? default(StringOffset) : builder.CreateString(_o.Name);
            var _description = _o.Description == null ? default(StringOffset) : builder.CreateString(_o.Description);
            var _wkt         = _o.Wkt == null ? default(StringOffset) : builder.CreateString(_o.Wkt);
            var _code_string = _o.CodeString == null ? default(StringOffset) : builder.CreateString(_o.CodeString);

            return(CreateCrs(
                       builder,
                       _org,
                       _o.Code,
                       _name,
                       _description,
                       _wkt,
                       _code_string));
        }