ObjectivelyMVC 0.1.0
Object oriented MVC framework for OpenGL, SDL2 and GNU C
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Data Structures | Enumerations | Functions
SimpleSelector.h File Reference

The SimpleSelector type. More...

#include <Objectively/Array.h>
#include <ObjectivelyMVC/Types.h>

Go to the source code of this file.

Data Structures

struct  SimpleSelector
 The SimpleSelector type. More...
 

Enumerations

enum  SimpleSelectorType {
  SimpleSelectorTypeNone , SimpleSelectorTypeUniversal , SimpleSelectorTypeType , SimpleSelectorTypeClass ,
  SimpleSelectorTypeId , SimpleSelectorTypePseudo
}
 The types of SimpleSelectors. More...
 

Functions

OBJECTIVELYMVC_EXPORT Class * _SimpleSelector (void)
 

Detailed Description

The SimpleSelector type.

Definition in file SimpleSelector.h.

Enumeration Type Documentation

◆ SimpleSelectorType

The types of SimpleSelectors.

Enumerator
SimpleSelectorTypeNone 
SimpleSelectorTypeUniversal 
SimpleSelectorTypeType 
SimpleSelectorTypeClass 
SimpleSelectorTypeId 
SimpleSelectorTypePseudo 

Definition at line 38 of file SimpleSelector.h.

38 {
SimpleSelectorType
The types of SimpleSelectors.
@ SimpleSelectorTypePseudo
@ SimpleSelectorTypeId
@ SimpleSelectorTypeClass
@ SimpleSelectorTypeUniversal
@ SimpleSelectorTypeType
@ SimpleSelectorTypeNone

Function Documentation

◆ _SimpleSelector()

OBJECTIVELYMVC_EXPORT Class * _SimpleSelector ( void  )

Definition at line 200 of file SimpleSelector.c.

200 {
201 static Class *clazz;
202 static Once once;
203
204 do_once(&once, {
205 clazz = _initialize(&(const ClassDef) {
206 .name = "SimpleSelector",
207 .superclass = _Object(),
208 .instanceSize = sizeof(SimpleSelector),
209 .interfaceOffset = offsetof(SimpleSelector, interface),
210 .interfaceSize = sizeof(SimpleSelectorInterface),
212 });
213 });
214
215 return clazz;
216}
static void initialize(Class *clazz)
The SimpleSelector type.