Displaying 1 to 20 from 47 results

Enums.NET - Enums.NET is a high-performance type-safe .NET enum utility library

  •    CSharp

Enums.NET is a high-performance type-safe .NET enum utility library which provides many operations as convenient extension methods. It is available as a NuGet Package and is compatible with .NET Framework 2.0+ and .NET Standard 1.0+.I'm trying to integrate some of Enums.NET's improvements into corefx so if interested in its progress please check out the proposal here.

enumeratum - A type-safe, reflection-free, powerful enumeration implementation for Scala with exhaustive pattern match warnings and helpful integrations

  •    Scala

Enumeratum is a type-safe and powerful enumeration implementation for Scala that offers exhaustive pattern match warnings, integrations with popular Scala libraries, and idiomatic usage that won't break your IDE. It aims to be similar enough to Scala's built in Enumeration to be easy-to-use and understand while offering more flexibility, type-safety (see this blog post describing erasure on Scala's Enumeration), and richer enum values without having to maintain your own collection of values. Enumeratum is published for Scala 2.10.x, 2.11.x, and 2.12.x as well as ScalaJS.

better-enums - C++ compile-time enum to string, iteration, in a single header file.

  •    C++

Reflective compile-time enum library with clean syntax, in a single header file, and without dependencies. In C++11, everything can be used at compile time. You can convert your enums, loop over them, find their max, statically enforce conventions, and pass along the results as template arguments or to constexpr functions. All the reflection is available for your metaprogramming needs.

enum - Strongly typed enums in PHP supporting autocompletion and refactoring

  •    PHP

This package offers strongly typed enums in PHP. In this package, enums are always objects, never constant values on their own. This allows for proper static analysis and refactoring in IDEs. We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.

Better Azure Table Storage

  •    LINQ

Better Azure Table Storage provides an API for accessing Azure Table Storage. Functionality includes querying multiple inherited types out of the same table and support for Enum properties.

SpecializedEnum: a base class to allow enum-like behavior with arbitrary objects

  •    DotNet

This class uses readonly variables, reflection, generics, and an internal ordered list to provide behavior similar to that of an enum but with arbitrary objects or value types rather than only integer numeric types. Public static readonly variables can be added in the derived ...

CSO Gateway - An object-oriented alternative to JSON

  •    ASPNET

The CSO Gateway library will recursively explore the classes, structs interfaces and enums in the inheritance hierarchy and composition graph of an object, create equivalent types in javascript and then create an equivalent object on the client side.

Enum Utilities Library

  •    DotNet

The Enum Utilities Library provides a collection of utility methods and classes to operate on regular enums and flag enums. Features include: * Bit shifting enums * Generating Bitmasks * LINQ queries against enums * Testing flag enums * Enum Extension methods * And more!

php-enum - Fast and powerful implementation of enumerations with native PHP 5.6 and upper

  •    PHP

This is a native PHP implementation to add enumeration support to PHP >= 5.3. It's an abstract class that needs to be extended to use it. In computer programming, an enumerated type (also called enumeration or enum) is a data type consisting of a set of named values called elements, members or enumerators of the type. The enumerator names are usually identifiers that behave as constants in the language. A variable that has been declared as having an enumerated type can be assigned any of the enumerators as a value. In other words, an enumerated type has values that are different from each other, and that can be compared and assigned, but which do not have any particular concrete representation in the computer's memory; compilers and interpreters can represent them arbitrarily.

Swift-Diagram-Playgrounds - Drawing diagrams in Swift using a recursive enum data structure

  •    Swift

This is an adaption of Apple’s sample code for the Protocol-Oriented Programming in Swift talk given during WWDC 2015. Included is Apple’s original example playground file Crustacean.playground that uses a Protocol-oriented design (updated for Swift 3). In addition there's an alternative version CrustaceanEnumOriented.playground that uses a recursive enum as the data structure.

ecto_enum - Ecto extension to support enums in models

  •    Elixir

EctoEnum is an Ecto extension to support enums in your Ecto models. Run mix deps.get to install ecto_enum.

DoctrineEnumBundle - Provides support of ENUM type for Doctrine in Symfony applications.

  •    PHP

Provides support of ENUM type for Doctrine in Symfony applications. Read the CONTRIBUTING file.

StepSlider - StepSlider its custom implementation of slider such as UISlider for preset integer values

  •    Objective-C

StepSlider its custom implementation of slider such as UISlider for preset values. Behind the scenes StepSlider manipulate integer indexes. Its based on drawing directlyon CAShapeLayer. You can add StepSlider right from code with any of standard initialisers. Or you can add it directly on your storybord. Its fully IBDesignable and IBInspetable compatible.

venum - Verifiably better, validated Enum for Python

  •    Python

venum provides an Enum that is actually just a namedtuple, but easier to create. This means an Enum doesn't have to be defined before program execution (similar to the functional API) and members are truly immutable (can't dynamically add new ones). Also, this saves a bit of memory over the stdlib's Enum.No need for .value.

go-enum - An enum generator for go

  •    Go

The goal of go-enum is to create an easy to use enum generator that will take a decorated type declaration like type EnumName int and create the associated constant values and funcs that will make life a little easier for adding new values. It's not perfect, but I think it's useful.I took the output of the Stringer command as the String() method, and added a way to parse a string value.

enum - Enum is a javascript module that introduces the Enum Type

  •    Javascript

Enum is a javascript module that introduces the Enum Type. It works for node.js and in the browser. Releases for a browser are available for download from GitHub.

results - Discriminated Unions including Maybe (an option type) and Result for javascript with fewer bugs

  •    Javascript

Results is a tiny library bringing Discriminated Unions (aka Sum Types or Algebraic Types) to JavaScript, with match for better program flow control. Results ships with full-featured Maybe (sometimes called an Option Type) and Result unions built-in, helping you safely deal with optional data and error handling.

ruby-enum - A handy way to define enums in Ruby.

  •    Ruby

Enum-like behavior for Ruby, heavily inspired by this and improved upon another blog post. Enums can be defined and accessed either as constants or class methods. For example below we have two Ruby::Enum classes where the first one (Colors) defines its enums and references them as constants. The second class (State) defines and references its enums as class methods.

We have large collection of open source products. Follow the tags from Tag Cloud >>

Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.