Home | History | Annotate | Download | only in typemaps

Lines Matching full:traits

29 %fragment("Traits","header") 
39 General traits that provides type_name and type_info
41 template <class Type> struct traits { };
45 return traits<Type>::type_name();
68 template <class Type> struct traits <Type *> {
82 template <class Type, class Category = typename traits<Type>::category >
86 Traits that provides the from method for an unknown type
112 Traits that provides the asptr/asval method for an unknown type
155 Traits that provides the check method for an unknown type
201 Generate the traits for an unknown SWIGTYPE
205 %fragment(SWIG_Traits_frag(Type),"header",fragment="Traits") {
207 template <> struct traits<Type > {
217 Generate the traits for a 'value' type, such as 'double',
225 fragment="Traits") {
227 template <> struct traits<Type > {
250 Generate the traits for a 'pointer' type, such as 'std::string',
258 fragment="Traits") {
260 template <> struct traits<Type > {
283 Generate the typemaps for a class that has 'value' traits
296 Generate the typemaps for a class that has 'pointer' traits