diff options
author | Bernard Normier <bernard@zeroc.com> | 2016-05-12 10:21:51 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2016-05-12 10:21:51 -0400 |
commit | 6ea27c2fc2478cea6a42bad30e746f7ebf9c69af (patch) | |
tree | a52106addf73a73fbeb5e33c26ff9f8908b62a24 /cpp/include/Slice/CPlusPlusUtil.h | |
parent | UWP test suite fixes (diff) | |
download | ice-6ea27c2fc2478cea6a42bad30e746f7ebf9c69af.tar.bz2 ice-6ea27c2fc2478cea6a42bad30e746f7ebf9c69af.tar.xz ice-6ea27c2fc2478cea6a42bad30e746f7ebf9c69af.zip |
Renamed ICE_UTIL_API to ICE_API and other cleanups
Diffstat (limited to 'cpp/include/Slice/CPlusPlusUtil.h')
-rw-r--r-- | cpp/include/Slice/CPlusPlusUtil.h | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/cpp/include/Slice/CPlusPlusUtil.h b/cpp/include/Slice/CPlusPlusUtil.h deleted file mode 100644 index 5a3ad0f4b14..00000000000 --- a/cpp/include/Slice/CPlusPlusUtil.h +++ /dev/null @@ -1,71 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -#ifndef C_PLUS_PLUS_UTIL_H -#define C_PLUS_PLUS_UTIL_H - -#include <Slice/Parser.h> -#include <IceUtil/OutputUtil.h> - -namespace Slice -{ - -extern FeatureProfile featureProfile; -extern std::string paramPrefix; - -struct ToIfdef -{ - char operator()(char); -}; - -void printHeader(::IceUtilInternal::Output&); -void printVersionCheck(::IceUtilInternal::Output&); -void printDllExportStuff(::IceUtilInternal::Output&, const std::string&); - -const int TypeContextInParam = 1; -const int TypeContextAMIEnd = 2; -const int TypeContextAMIPrivateEnd = 4; -const int TypeContextAMICallPrivateEnd = 8; -const int TypeContextUseWstring = 16; -const int TypeContextLocal = 32; - -bool isMovable(const TypePtr&); - -std::string typeToString(const TypePtr&, const StringList& = StringList(), int = 0, bool = false); -std::string typeToString(const TypePtr&, bool, const StringList& = StringList(), int = 0, bool = false); -std::string returnTypeToString(const TypePtr&, bool, const StringList& = StringList(), int = 0, bool = false); -std::string inputTypeToString(const TypePtr&, bool, const StringList& = StringList(), int = 0, bool = false); -std::string outputTypeToString(const TypePtr&, bool, const StringList& = StringList(), int = 0, bool = false); -std::string operationModeToString(Operation::Mode, bool cpp11 = false); -std::string opFormatTypeToString(const OperationPtr&); - -std::string fixKwd(const std::string&); - -void writeMarshalUnmarshalCode(::IceUtilInternal::Output&, const TypePtr&, bool, int, const std::string&, - bool, const StringList& = StringList(), int = 0, const std::string& = "", - bool = true); - -void writeMarshalCode(::IceUtilInternal::Output&, const ParamDeclList&, const OperationPtr&, bool, int = 0); -void writeUnmarshalCode(::IceUtilInternal::Output&, const ParamDeclList&, const OperationPtr&, bool, int = 0); -void writeAllocateCode(::IceUtilInternal::Output&, const ParamDeclList&, const OperationPtr&, bool, int = 0, bool = false); - -std::string getEndArg(const TypePtr&, const StringList&, const std::string&); -void writeEndCode(::IceUtilInternal::Output&, const ParamDeclList&, const OperationPtr&, bool = false); - -bool findMetaData(const std::string&, const ClassDeclPtr&, std::string&); -bool findMetaData(const std::string&, const StringList&, std::string&); -std::string findMetaData(const StringList&, int = 0); -bool inWstringModule(const SequencePtr&); - -std::string getDataMemberRef(const DataMemberPtr&); - -std::string classDefToDelegateString(const ClassDefPtr&, int = 0, bool = false); -} - -#endif |