public DescriptorBuffer(DescriptorType descriptor_type, DescriptorDataType data_type, uint nb_elements, uint nb_descriptors) : this(solar_datastructurePINVOKE.new_DescriptorBuffer__SWIG_6((int)descriptor_type, (int)data_type, nb_elements, nb_descriptors), true) { if (solar_datastructurePINVOKE.SWIGPendingException.Pending) { throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve(); } }
public DescriptorDataType dataType() { DescriptorDataType ret = (DescriptorDataType)solar_datastructurePINVOKE.DescriptorView_dataType(swigCPtr); if (solar_datastructurePINVOKE.SWIGPendingException.Pending) { throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }