libsesstype  2.0.0
Library for Session Types programming.
 All Classes Namespaces Files Functions
Public Member Functions
sesstype::Import Class Reference

Import statement. More...

#include <import.h>

List of all members.

Public Member Functions

 Import (std::string name)
 Import constructor without "from" or alias.
 Import (std::string name, std::string from, std::string as)
 Import constructor.
std::string name () const
std::string from () const
std::string as () const

Detailed Description

Import statement.


Constructor & Destructor Documentation

sesstype::Import::Import ( std::string  name,
std::string  from,
std::string  as 
) [inline]

Import constructor.

Parameters:
[in]fromModule name.
[in]asImport alias name.

Member Function Documentation

std::string sesstype::Import::as ( ) const [inline]
Returns:
alias of Protocol or Module imported as.
std::string sesstype::Import::from ( ) const [inline]
Returns:
name of Protocol or Module imported from.
std::string sesstype::Import::name ( ) const [inline]
Returns:
name of Imported Protocol or Module.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions