Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

more::lang::cx_package_variable Class Reference

The representation of a global C variable with a definition. More...

#include <more/lang/package.h>

Inheritance diagram for more::lang::cx_package_variable:

Inheritance graph
[legend]
Collaboration diagram for more::lang::cx_package_variable:

Collaboration graph
[legend]
List of all members.

Public Methods

Protected Methods

Friends


Detailed Description

The representation of a global C variable with a definition.


Constructor & Destructor Documentation

more::lang::cx_package_variable::cx_package_variable cx_expr   val [explicit]
 

Construct a package variable bound to val.

more::lang::cx_package_variable::cx_package_variable ct_type const *    t [explicit, protected]
 

Construct a package variable with no binding.

The subclass must override the make_definiens member function.

more::lang::cx_package_variable::~cx_package_variable   [protected]
 


Member Function Documentation

virtual void more::lang::cx_package_variable::append_ctors_to cx_block   blk [virtual]
 

Appends ctors of the variable and its definition.

Reimplemented from more::lang::cx_expr_with_ctor_dtor.

virtual void more::lang::cx_package_variable::append_dtors_to cx_block   blk [virtual]
 

Appends dtors of the variable and its definition.

Reimplemented from more::lang::cx_expr_with_ctor_dtor.

cx_expr* more::lang::cx_package_variable::definiens   [inline]
 

Return the definiens of the variable's definition.

virtual bool more::lang::cx_package_variable::equal_to resolver   rhs [protected, virtual]
 

Return the equality of this and rhs as pointers.

Reimplemented from more::lang::resolver.

void more::lang::cx_package_variable::include std::string const &    name [inline, protected]
 

Add an include directive to the implementation file.

virtual cx_expr* more::lang::cx_package_variable::make_definiens   [protected, virtual]
 

Create the definition of idr.

The constructors and destructors of the defined variable, if any, will be put into separate functions, which will be run when the library is lt_dlopened or lt_dlclosed.

void more::lang::cx_package_variable::print_definition std::ostream &    os
 

Print the definition of the variable.

virtual void* more::lang::cx_package_variable::resolve   [protected, virtual]
 

Try to resolve the location by writing out the source, compile and dynamically link it in.

Reimplemented from more::lang::resolver.

virtual ct_type const* more::lang::cx_package_variable::resolve_type_of   const [virtual]
 

Return the type of the object returned by resolve.

Reimplemented from more::lang::resolver.

void more::lang::cx_package_variable::set_version unsigned long    version [inline]
 

Set the version of the symbol.

This is used to avoid recompilation of code that is unchanged, and works only if the package is constructed with split_p=true.


Friends And Related Function Documentation

friend class package [friend]
 


The documentation for this class was generated from the following file:
Generated on Sat Sep 7 19:12:53 2002 for more with Doxygen 1.2.13.1. Doxygen 1.2.13.1 is written and copyright 1997-2002 by Dimitri van Heesch.