Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Shaders.Ast.Qualifier Class Reference

A Storage qualifier. More...

Inheritance diagram for SiliconStudio.Shaders.Ast.Qualifier:
SiliconStudio.Shaders.Ast.CompositeEnum SiliconStudio.Shaders.Ast.Node IEnumerable< CompositeEnum > SiliconStudio.Shaders.Ast.Glsl.LayoutQualifier SiliconStudio.Shaders.Ast.Hlsl.FloatQualifier SiliconStudio.Shaders.Ast.Hlsl.PackOffset SiliconStudio.Shaders.Ast.Hlsl.RegisterLocation SiliconStudio.Shaders.Ast.Hlsl.Semantic SiliconStudio.Shaders.Ast.LayoutQualifier SiliconStudio.Shaders.Ast.ParameterQualifier SiliconStudio.Shaders.Ast.StorageQualifier

Public Member Functions

 Qualifier ()
 Initializes a new instance of the Qualifier class. More...
 
string ToString (bool isPost)
 
- Public Member Functions inherited from SiliconStudio.Shaders.Ast.CompositeEnum
 CompositeEnum ()
 Initializes a new instance of the CompositeEnum class. More...
 
 CompositeEnum (bool isFlag)
 Initializes a new instance of the CompositeEnum class. More...
 
 CompositeEnum (object key, bool isFlag)
 Initializes a new instance of the CompositeEnum class. More...
 
bool Contains (CompositeEnum enumValue)
 Determines whether [contains] [the specified enum value]. More...
 
bool Contains (params CompositeEnum[] enumValues)
 Determines whether [contains] [the specified enum values]. More...
 
bool ContainsAll (params CompositeEnum[] enumValues)
 Determines whether the specified enum values contains all. More...
 
bool Equals (CompositeEnum other)
 Determines whether the specified CompositeEnum is equal to this instance. More...
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
IEnumerator< CompositeEnumGetEnumerator ()
 
override string ToString ()
 
string ToString< T > (Func< T, bool > filterEnum)
 
override IEnumerable< NodeChildrens ()
 Gets the child nodes.
Returns
An enumeration of child nodes
More...
 
- Public Member Functions inherited from SiliconStudio.Shaders.Ast.Node
override bool Equals (object against)
 
override int GetHashCode ()
 
object GetTag (object tagKey)
 Gets a tag value associated to this node.. More...
 
bool RemoveTag (object tagKey)
 Gets a tag value associated to this node.. More...
 
bool ContainsTag (object tagKey)
 Determines whether the specified instance contains this tag. More...
 
void SetTag (object tagKey, object tagValue)
 Sets a tag value associated to this node. More...
 
override string ToString ()
 

Static Public Member Functions

static Qualifier operator& (Qualifier left, Qualifier right)
 Implements the operator ==. More...
 
static Qualifier operator| (Qualifier left, Qualifier right)
 Implements the operator |. More...
 
static Qualifier operator^ (Qualifier left, Qualifier right)
 Implements the operator ^. More...
 
- Static Public Member Functions inherited from SiliconStudio.Shaders.Ast.CompositeEnum
static T1 OperatorAnd< T1 > (T1 left, T1 right)
 Operators And. More...
 
static T1 OperatorOr< T1 > (T1 left, T1 right)
 Operators Or. More...
 
static T1 OperatorXor< T1 > (T1 left, T1 right)
 Operators Xor. More...
 
static bool operator== (CompositeEnum left, CompositeEnum right)
 Implements the operator ==. More...
 
static bool operator!= (CompositeEnum left, CompositeEnum right)
 Implements the operator !=. More...
 
- Static Public Member Functions inherited from SiliconStudio.Shaders.Ast.Node
static bool operator== (Node left, Node right)
 
static bool operator!= (Node left, Node right)
 

Static Public Attributes

static readonly Qualifier None = new Qualifier(string.Empty)
 None Enum. More...
 

Protected Member Functions

 Qualifier (object key)
 Initializes a new instance of the Qualifier class. More...
 
- Protected Member Functions inherited from SiliconStudio.Shaders.Ast.Node
 Node ()
 Initializes a new instance of the Node class. More...
 

Properties

bool IsPost [get, set]
 Gets or sets a value indicating whether this instance is a post qualifier. More...
 
- Properties inherited from SiliconStudio.Shaders.Ast.CompositeEnum
bool IsComposition [get]
 Gets a value indicating whether this instance is a composition enum (a combination of enums). More...
 
bool IsFlag [get, set]
 Gets a value indicating whether this instance is an enum flag. More...
 
object Key [get, set]
 Gets or sets the key. More...
 
OrderedSet< CompositeEnumValues [get, set]
 Gets or sets the values. More...
 
virtual string DisplayName [get]
 Gets the display name. More...
 
- Properties inherited from SiliconStudio.Shaders.Ast.Node
SourceSpan Span [get, set]
 Gets or sets the source span. More...
 
List< NodeChildrenList [get]
 Gets the childrens. More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from SiliconStudio.Shaders.Ast.CompositeEnum
static StringEnumMap PrepareParsing< T > ()
 Prepares the parsing for a specific enum by returning a pre-computed dictionary with all allowed mapping name => enum. More...
 

Detailed Description

A Storage qualifier.

Definition at line 11 of file Qualifier.cs.

Constructor & Destructor Documentation

SiliconStudio.Shaders.Ast.Qualifier.Qualifier ( )

Initializes a new instance of the Qualifier class.

Definition at line 27 of file Qualifier.cs.

SiliconStudio.Shaders.Ast.Qualifier.Qualifier ( object  key)
protected

Initializes a new instance of the Qualifier class.

Parameters
keyName of the enum.

Definition at line 38 of file Qualifier.cs.

Member Function Documentation

static Qualifier SiliconStudio.Shaders.Ast.Qualifier.operator& ( Qualifier  left,
Qualifier  right 
)
static

Implements the operator ==.

Parameters
leftThe left.
rightThe right.
Returns
The result of the operator.

Definition at line 62 of file Qualifier.cs.

static Qualifier SiliconStudio.Shaders.Ast.Qualifier.operator^ ( Qualifier  left,
Qualifier  right 
)
static

Implements the operator ^.

Parameters
leftThe left.
rightThe right.
Returns
The result of the operator.

Definition at line 88 of file Qualifier.cs.

static Qualifier SiliconStudio.Shaders.Ast.Qualifier.operator| ( Qualifier  left,
Qualifier  right 
)
static

Implements the operator |.

Parameters
leftThe left.
rightThe right.
Returns
The result of the operator.

Definition at line 75 of file Qualifier.cs.

string SiliconStudio.Shaders.Ast.Qualifier.ToString ( bool  isPost)

Definition at line 93 of file Qualifier.cs.

Member Data Documentation

Property Documentation

bool SiliconStudio.Shaders.Ast.Qualifier.IsPost
getset

Gets or sets a value indicating whether this instance is a post qualifier.

true if this instance is a post qualifier; otherwise, false.

Definition at line 52 of file Qualifier.cs.

Referenced by SiliconStudio.Shaders.Writer.ShaderWriter.Write().


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