IDL compiler front-end library
Public Member Functions | List of all members
AST::Array Class Reference

The array type descriptor. More...

#include <Array.h>

Inheritance diagram for AST::Array:
AST::Type

Public Member Functions

const std::vector< Dim > & dimensions () const noexcept
 
bool operator== (const Array &rhs) const noexcept
 Check types for equality.
 
- Public Member Functions inherited from AST::Type
Kind tkind () const noexcept
 
BasicType basic_type () const noexcept
 
const NamedItemnamed_type () const noexcept
 
Dim string_bound () const noexcept
 
Dim string_size () const noexcept
 Obsolete. Use Type::string_bound () instead.
 
const Sequencesequence () const noexcept
 
const Arrayarray () const noexcept
 
uint16_t fixed_digits () const noexcept
 
uint16_t fixed_scale () const noexcept
 
const Typedereference_type () const noexcept
 
 ~Type ()
 Destructor.
 
 Type ()
 Default constructor.
 
 Type (const Type &src)
 Copy constructor.
 
 Type (Type &&src) noexcept
 Move constructor.
 
Typeoperator= (const Type &src)
 Copy assignment.
 
Typeoperator= (Type &&src) noexcept
 Move assignment.
 
bool operator== (const Type &rhs) const noexcept
 Check types for equality.
 

Additional Inherited Members

- Public Types inherited from AST::Type
enum class  Kind {
  VOID , BASIC_TYPE , NAMED_TYPE , STRING ,
  WSTRING , FIXED , SEQUENCE , ARRAY
}
 The kind of type. More...
 

Detailed Description

The array type descriptor.

Definition at line 37 of file Array.h.

Member Function Documentation

◆ dimensions()

const std::vector<Dim>& AST::Array::dimensions ( ) const
inlinenoexcept
Returns
The vector of the array dimensions.

Definition at line 42 of file Array.h.


The documentation for this class was generated from the following file: