Sha256: e48d88dcdc8aad46956060071a9ce0c5843511299a8e61563685f2b7ffd91af2

Contents?: true

Size: 785 Bytes

Versions: 8

Compression:

Stored size: 785 Bytes

Contents

#ifndef __FGDB_FIELD_INFO_HPP__
#define __FGDB_FIELD_INFO_HPP__

#include "filegdb.hpp"
#include "base.hpp"

namespace filegdb {
  class field_info : public base<field_info> {
  public:
    field_info() : base<field_info>(), _fieldInfo(new FieldInfo) {};
    static void define(VALUE module);

    static VALUE get_field_count(VALUE self);
    static VALUE get_field_name(VALUE self, VALUE fieldIndex);
    static VALUE get_field_type(VALUE self, VALUE fieldIndex);
    static VALUE get_field_length(VALUE self, VALUE fieldIndex);
    static VALUE get_field_is_nullable(VALUE self, VALUE fieldIndex);

    virtual VALUE klass();
    static VALUE _klass;

    FieldInfo &value() { return *_fieldInfo; }

    virtual ~field_info();

  private:
    FieldInfo *_fieldInfo;
  };
}

#endif

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
filegdb-1.1.1 ext/filegdb/field_info.hpp
filegdb-1.1.0 ext/filegdb/field_info.hpp
filegdb-1.0.0 ext/filegdb/field_info.hpp
filegdb-0.0.6 ext/filegdb/field_info.hpp
filegdb-0.0.5 ext/filegdb/field_info.hpp
filegdb-0.0.4 ext/filegdb/field_info.hpp
filegdb-0.0.3 ext/filegdb/field_info.hpp
filegdb-0.0.2 ext/filegdb/field_info.hpp