Zen
A cross-platform functional programming language

TypeSpec::AccessType Struct Reference

Outer struct for AccessType enumeration. More...

#include <Ast.hpp>

List of all members.

Public Types

enum  T {
  Private, Internal, Protected, Public,
  Export, Native, Test
}
 

The access type for any user-defined TypeSpec.

More...

Static Public Member Functions

static bool isPublic (const T &t)
 returns true is t is visible externally
static z::string getString (const T &t)
 returns the string representation of t

Detailed Description

Outer struct for AccessType enumeration.


Member Enumeration Documentation

enum T

The access type for any user-defined TypeSpec.

Enumerator:
Internal 

TypeSpec is visible only within current compilation unit.

Protected 

TypeSpec is externally visible only as a reference.

Public 

TypeSpec is exposed as a pimpl type.

Export 

TypeSpec is fully exposed externally.

Native 

unused for now, to be used for dllexport later.

Test 

TypeSpec has a native implementation.


Member Function Documentation

z::string getString ( const T t) [static]

returns the string representation of t

Parameters:
tThe AccessType value to convert to string
Returns:
The string representation of the Storage type
static bool isPublic ( const T t) [inline, static]

returns true is t is visible externally

Parameters:
tThe AccessType value to check
Returns:
True is t is externally visible

The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines