1
0
Fork 0
arangodb/lib/Basics/StaticStrings.h

129 lines
4.4 KiB
C++

////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2016 ArangoDB GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at
///
/// http://www.apache.org/licenses/LICENSE-2.0
///
/// Unless required by applicable law or agreed to in writing, software
/// distributed under the License is distributed on an "AS IS" BASIS,
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
/// See the License for the specific language governing permissions and
/// limitations under the License.
///
/// Copyright holder is ArangoDB GmbH, Cologne, Germany
///
/// @author Jan Steemann
////////////////////////////////////////////////////////////////////////////////
#ifndef ARANGODB_BASICS_STATIC_STRINGS_H
#define ARANGODB_BASICS_STATIC_STRINGS_H 1
#include "Basics/Common.h"
namespace arangodb {
class StaticStrings {
StaticStrings() = delete;
public:
// constants
static std::string const Base64;
static std::string const Binary;
static std::string const Empty;
static std::string const N1800;
// index lookup strings
static std::string const IndexEq;
static std::string const IndexIn;
static std::string const IndexLe;
static std::string const IndexLt;
static std::string const IndexGe;
static std::string const IndexGt;
// system attribute names
static std::string const AttachmentString;
static std::string const IdString;
static std::string const KeyString;
static std::string const RevString;
static std::string const FromString;
static std::string const ToString;
// URL parameter names
static std::string const IgnoreRevsString;
static std::string const IsRestoreString;
static std::string const KeepNullString;
static std::string const MergeObjectsString;
static std::string const ReturnNewString;
static std::string const ReturnOldString;
static std::string const SilentString;
static std::string const WaitForSyncString;
static std::string const IsSynchronousReplicationString;
// replication headers
static std::string const ReplicationHeaderCheckMore;
static std::string const ReplicationHeaderLastIncluded;
static std::string const ReplicationHeaderLastTick;
static std::string const ReplicationHeaderFromPresent;
static std::string const ReplicationHeaderActive;
// database and collection names
static std::string const SystemDatabase;
// HTTP headers
static std::string const Accept;
static std::string const AcceptEncoding;
static std::string const AccessControlAllowCredentials;
static std::string const AccessControlAllowHeaders;
static std::string const AccessControlAllowMethods;
static std::string const AccessControlAllowOrigin;
static std::string const AccessControlExposeHeaders;
static std::string const AccessControlMaxAge;
static std::string const AccessControlRequestHeaders;
static std::string const Allow;
static std::string const Async;
static std::string const AsyncId;
static std::string const Authorization;
static std::string const BatchContentType;
static std::string const CacheControl;
static std::string const Close;
static std::string const ClusterCommSource;
static std::string const Code;
static std::string const Connection;
static std::string const ContentEncoding;
static std::string const ContentLength;
static std::string const ContentTypeHeader;
static std::string const CorsMethods;
static std::string const Error;
static std::string const ErrorMessage;
static std::string const ErrorNum;
static std::string const Errors;
static std::string const ErrorCodes;
static std::string const Etag;
static std::string const Expect;
static std::string const ExposedCorsHeaders;
static std::string const HLCHeader;
static std::string const KeepAlive;
static std::string const LeaderEndpoint;
static std::string const Location;
static std::string const MultiPartContentType;
static std::string const NoSniff;
static std::string const Origin;
static std::string const Queue;
static std::string const Server;
static std::string const StartThread;
static std::string const WwwAuthenticate;
static std::string const XContentTypeOptions;
// mime types
static std::string const MimeTypeJson;
static std::string const MimeTypeText;
static std::string const MimeTypeVPack;
};
}
#endif