Welcome to the NetCologne GmbH open source mirroring service!

This machine mirrors various open-source projects. 20 Gbit/s uplink.

If there are any issues or you want another project mirrored, please contact mirror-service -=AT=- netcologne DOT de !

Comma: comma::AllocatorExpr Class Reference

comma::AllocatorExpr Class Reference

#include <Expr.h>

Inheritance diagram for comma::AllocatorExpr:
Inheritance graph
[legend]
Collaboration diagram for comma::AllocatorExpr:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AllocatorExpr (QualifiedExpr *operand, Location loc)
 Creates an initialized allocation over the given qualified expression.
 AllocatorExpr (PrimaryType *operand, Location loc)
 Creates an uninitialized allocation over the given primary type.
bool isInitialized () const
 Returns true if this is an initialized allocation expression.
bool isUninitialized () const
 Returns true if this is an uninitialized allocation expression.
void setInitializer (Expr *expr)
 Sets the initializer of this allocator expression.



const ExprgetInitializer () const
ExprgetInitializer ()
const PrimaryTypegetAllocatedType () const
 Returns the type this allocator allocates.
PrimaryTypegetAllocatedType ()
const AccessTypegetType () const
 Specialize Expr::getType().
AccessTypegetType ()

Static Public Member Functions

static bool classof (const AllocatorExpr *node)
 Support isa and dyn_cast.
static bool classof (const Ast *node)

Detailed Description

Definition at line 779 of file Expr.h.


Constructor & Destructor Documentation

comma::AllocatorExpr::AllocatorExpr ( QualifiedExpr operand,
Location  loc 
) [inline]

Creates an initialized allocation over the given qualified expression.

Definition at line 783 of file Expr.h.

comma::AllocatorExpr::AllocatorExpr ( PrimaryType operand,
Location  loc 
) [inline]

Creates an uninitialized allocation over the given primary type.

Definition at line 788 of file Expr.h.


Member Function Documentation

static bool comma::AllocatorExpr::classof ( const Ast node  )  [inline, static]

Reimplemented from comma::Expr.

Definition at line 833 of file Expr.h.

static bool comma::AllocatorExpr::classof ( const AllocatorExpr node  )  [inline, static]

Support isa and dyn_cast.

Reimplemented from comma::Expr.

Definition at line 832 of file Expr.h.

PrimaryType* comma::AllocatorExpr::getAllocatedType (  )  [inline]

Returns the initializer associated with this allocator or null if this is not an initialized allocator.

Definition at line 810 of file Expr.h.

const PrimaryType* comma::AllocatorExpr::getAllocatedType (  )  const [inline]

Returns the type this allocator allocates.

Definition at line 807 of file Expr.h.

Expr* comma::AllocatorExpr::getInitializer (  )  [inline]

Returns the initializer associated with this allocator or null if this is not an initialized allocator.

Definition at line 802 of file Expr.h.

const Expr* comma::AllocatorExpr::getInitializer (  )  const [inline]

Returns the initializer associated with this allocator or null if this is not an initialized allocator.

Definition at line 801 of file Expr.h.

AccessType* comma::AllocatorExpr::getType (  )  [inline]

Returns the initializer associated with this allocator or null if this is not an initialized allocator.

Definition at line 826 of file Expr.h.

const AccessType* comma::AllocatorExpr::getType (  )  const [inline]

Specialize Expr::getType().

Reimplemented from comma::Expr.

Definition at line 823 of file Expr.h.

bool comma::AllocatorExpr::isInitialized (  )  const [inline]

Returns true if this is an initialized allocation expression.

Definition at line 793 of file Expr.h.

bool comma::AllocatorExpr::isUninitialized (  )  const [inline]

Returns true if this is an uninitialized allocation expression.

Definition at line 796 of file Expr.h.

void comma::AllocatorExpr::setInitializer ( Expr expr  )  [inline]

Sets the initializer of this allocator expression.

Definition at line 819 of file Expr.h.


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

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1