ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
enumvalue_set Class Reference

#include <enum_property.h>

Inheritance diagram for enumvalue_set:
Collaboration diagram for enumvalue_set:

Public Member Functions

 enumvalue_set ()
 Construct an empty set. More...
 
 enumvalue_set (enumValueAnn *val)
 Construct a single element set. More...
 
void insert (enumValueAnn *val)
 Insert into the set. More...
 
bool includes (enumvalue_set &other)
 Inclusion test. More...
 
void set_union (const enumvalue_set &other)
 Set union. More...
 
void set_intersection (const enumvalue_set &other)
 Set intersection. More...
 

Detailed Description

Definition at line 94 of file enum_property.h.

Constructor & Destructor Documentation

enumvalue_set::enumvalue_set ( )
inline

Construct an empty set.

Definition at line 100 of file enum_property.h.

enumvalue_set::enumvalue_set ( enumValueAnn val)
inline

Construct a single element set.

Contains the single given element

Definition at line 108 of file enum_property.h.

References enumValueAnn::id().

Member Function Documentation

void enumvalue_set::insert ( enumValueAnn val)
inline

Insert into the set.

Definition at line 117 of file enum_property.h.

References enumValueAnn::id().

Referenced by Diagnostic::add_diagnostic_value().

bool enumvalue_set::includes ( enumvalue_set other)
inline

Inclusion test.

Test to see if the input set is wholly included in this set. The test is basically to see if the this intersected with other equals other.

Definition at line 125 of file enum_property.h.

void enumvalue_set::set_union ( const enumvalue_set other)
inline

Set union.

Definition at line 133 of file enum_property.h.

void enumvalue_set::set_intersection ( const enumvalue_set other)
inline

Set intersection.

Definition at line 137 of file enum_property.h.


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