Sha256: 88593f87e9acbfd72576f38470db7cf3c1c1ae1118b064081f1d46fa2fa5ada0
Contents?: true
Size: 1.83 KB
Versions: 2
Compression:
Stored size: 1.83 KB
Contents
// // Section.h // snowcrash // // Created by Zdenek Nemec on 11/1/13. // Copyright (c) 2013 Apiary Inc. All rights reserved. // #ifndef SNOWCRASH_SECTION_H #define SNOWCRASH_SECTION_H #include <string> namespace snowcrash { /** * API Blueprint Sections Types. */ enum SectionType { UndefinedSectionType, /// < Undefined section BlueprintSectionType, /// < Blueprint overview ResourceGroupSectionType, /// < Resource group ResourceSectionType, /// < Resource ActionSectionType, /// < Action RequestSectionType, /// < Request RequestBodySectionType, /// < Request & Payload body combined (abbrev) ResponseSectionType, /// < Response ResponseBodySectionType, /// < Response & Body combined (abbrev) ModelSectionType, /// < Model ModelBodySectionType, /// < Model & Body combined (abbrev) BodySectionType, /// < Payload Body DanglingBodySectionType, /// < Dangling Body (unrecognised section considered to be Body) SchemaSectionType, /// < Payload Schema DanglingSchemaSectionType, /// < Dangling Schema (unrecognised section considered to be Schema) HeadersSectionType, /// < Headers ForeignSectionType, /// < Foreign, unexpected section ParametersSectionType, /// < Parameters ParameterSectionType, /// < One Parameter definition ValuesSectionType, /// < Value enumeration ValueSectionType /// < One Value }; /** \return Human readable name for given %SectionType */ extern std::string SectionName(const SectionType& section); } #endif
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
redsnow-0.2.1 | ext/snowcrash/src/Section.h |
redsnow-0.2.0 | ext/snowcrash/src/Section.h |