Package pygccxml :: Package declarations :: Module cpptypes :: Class array_t

type array_t

source code

object --+        
         |        
    type_t --+    
             |    
    compound_t --+
                 |
                array_t

represents C++ array type

Instance Methods
 
__init__(self, base, size) source code
 
build_decl_string(self, with_defaults=True) source code

Inherited from type_t: __eq__, __lt__, __ne__, __str__, clone

Class Variables
  SIZE_UNKNOWN = -1
Properties
  size
returns array size

Inherited from compound_t: base

Inherited from type_t: byte_align, byte_size, decl_string, partial_decl_string

Method Details

__init__(self, base, size)
(Constructor)

source code 
Overrides: type_t.__init__

build_decl_string(self, with_defaults=True)

source code 
Overrides: type_t.build_decl_string

Property Details

size

returns array size

Get Method:
_get_size(self)
Set Method:
_set_size(self, size)