Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (23 sloc) 0.695 kb
//
// GBEnumConstantData.h
// appledoc
//
// Created by Rob van der Veer on 25/7/13.
// Copyright (c) 2013 Gentle Bytes. All rights reserved.
//
#import "GBModelBase.h"
/** Describes a single enumeration constant */
@interface GBEnumConstantData : GBModelBase
{
@private
NSString *_name;
NSString *_assignedValue;
}
+(id)constantWithName:(NSString *)name;
/** the name of the constant */
@property (readonly) NSString *name;
/** An option assigned value for this constant */
@property (copy) NSString *assignedValue;
/** A boolean indicating if this enum has an assigned value. The boolean is used in the generation phase */
@property (readonly) bool hasAssignedValue;
@end
Jump to Line
Something went wrong with that request. Please try again.