// Copyright (C) by Josh Blum. See LICENSE.txt for licensing information. #ifndef INCLUDED_GRAS_IO_SIGNATURE_I #define INCLUDED_GRAS_IO_SIGNATURE_I %{ #include %} %ignore gras::IOSignature::operator->(); %ignore gras::IOSignature::operator->() const; %ignore gras::IOSignature::operator[]; //ignore warnings about %extend %include %template (std_vector_gras_io_signature_unsigned) std::vector; %include %extend gras::IOSignature { const unsigned &__getitem__(const unsigned index) { return ($self)->at(index); } } #endif /*INCLUDED_GRAS_IO_SIGNATURE_I*/