Om  1.0.0
A universal framework for multimedia simulation
Public Types | Public Member Functions | List of all members
om::scripting::mir::lang::Visibility Class Reference

A class that represents a type of visibility for a scope member declaration. More...

#include <omScriptingMirVisibility.h>

Public Types

enum  Type { PUBLIC, PRIVATE, PROTECTED, DEFAULT }
 An enum that specifies the different kinds of visiblity for member declarations. More...
 

Public Member Functions

 Visibility (Type newType)
 Create a new visibility with the specified visibility type enum value. More...
 
 operator Type () const
 Convert this visibility type to an enum value. More...
 

Detailed Description

A class that represents a type of visibility for a scope member declaration.

Member Enumeration Documentation

An enum that specifies the different kinds of visiblity for member declarations.

Enumerator
PUBLIC 

A visibility where all scopes can access the member with this visibility.

PRIVATE 

A visibility where only the same scope can access the member with this visibility.

PROTECTED 

A visibility where only the same and child scopes can access the member with this visibility.

DEFAULT 

A visibility which uses the default visibility for the scope where it is contained.

Constructor & Destructor Documentation

om::scripting::mir::lang::Visibility::Visibility ( Type  newType)
inline

Create a new visibility with the specified visibility type enum value.

Member Function Documentation

om::scripting::mir::lang::Visibility::operator Type ( ) const
inline

Convert this visibility type to an enum value.


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