NCBI C++ ToolKit
Public Member Functions | Private Attributes | Friends | List of all members
CClientPseudoDataType Class Reference

Search Toolkit Book for CClientPseudoDataType

#include "rpcgen.hpp"
(Private to src/serial/datatool.)

+ Inheritance diagram for CClientPseudoDataType:
+ Collaboration diagram for CClientPseudoDataType:

Public Member Functions

 CClientPseudoDataType (const CCodeGenerator &generator, const string &section_name, const string &class_name)
virtual AutoPtr< CTypeStringsGenerateCode (void) const override
virtual void PrintASN (CNcbiOstream &, int) const override
virtual void PrintJSONSchema (CNcbiOstream &, int, list< string > &, bool) const override
virtual void PrintXMLSchema (CNcbiOstream &, int, bool) const override
virtual void PrintDTDElement (CNcbiOstream &, bool) const override
virtual bool CheckValue (const CDataValue &) const override
virtual TObjectPtr CreateDefault (const CDataValue &) const override
- Public Member Functions inherited from CDataType
 CDataType (void)
virtual ~CDataType (void)
const CDataTypeGetParentType (void) const
const CDataTypeModuleGetModule (void) const
bool HaveModuleName (void) const
const stringGetSourceFileName (void) const
int GetSourceLine (void) const
void SetSourceLine (int line)
string LocationString (void) const
string GetKeyPrefix (void) const
string IdName (void) const
string XmlTagName (void) const
const stringGlobalName (void) const
bool Skipped (void) const
string DefClassMemberName (void) const
string ClassName (void) const
string FileName (void) const
const CNamespaceNamespace (void) const
string InheritFromClass (void) const
const CDataTypeInheritFromType (void) const
const string GetVar (const string &value, int collect=0) const
bool GetBoolVar (const string &value, bool default_value=false) const
void ForbidVar (const string &var, const string &value)
void AllowVar (const string &var, const string &value)
const string GetAndVerifyVar (const string &value) const
bool InChoice (void) const
void PrintASNTypeComments (CNcbiOstream &out, int indent, int flags=0) const
void PrintDTDTypeComments (CNcbiOstream &out, int indent) const
virtual void PrintSpecDump (CNcbiOstream &out, int indent) const
virtual void PrintSpecDumpExtra (CNcbiOstream &out, int indent) const
virtual const char * GetASNKeyword (void) const
virtual string GetSpecKeyword (void) const
virtual string GetSchemaTypeString (void) const
void PrintDTD (CNcbiOstream &out) const
void PrintDTD (CNcbiOstream &out, const CComments &extra) const
virtual void PrintDTDExtra (CNcbiOstream &out) const
virtual CTypeRef GetTypeInfo (void)
virtual const CTypeInfoGetAnyTypeInfo (void)
virtual bool NeedAutoPointer (const CTypeInfo *typeInfo) const
virtual const CTypeInfoGetRealTypeInfo (void)
virtual CTypeInfoCreateTypeInfo (void)
CTypeInfoUpdateModuleName (CTypeInfo *typeInfo) const
void Warning (const string &mess, int err_subcode=0) const
void SetParentClassTo (CClassTypeStrings &code) const
virtual AutoPtr< CTypeStringsGetRefCType (void) const
virtual AutoPtr< CTypeStringsGetFullCType (void) const
virtual string GetDefaultString (const CDataValue &value) const
virtual const CDataTypeResolve (void) const
virtual CDataTypeResolve (void)
CDataTypeResolveGlobal (const string &name) const
CDataTypeResolveLocal (const string &name) const
bool IsInSet (void) const
const CUniSequenceDataTypeGetInSet (void) const
void SetInSet (const CUniSequenceDataType *sequence)
bool IsInChoice (void) const
const CChoiceDataTypeGetInChoice (void) const
void SetInChoice (const CChoiceDataType *choice)
bool IsReferenced (void) const
void AddReference (const CReferenceDataType *reference)
const TReferencesGetReferences (void) const
bool IsInUniSeq (void) const
bool IsUniSeq (void) const
bool IsContainer (void) const
bool IsEnumType (void) const
void SetParent (const CDataType *parent, const string &memberName, string xmlName=kEmptyStr)
void SetParent (const CDataTypeModule *module, const string &typeName)
virtual void FixTypeTree (void) const
bool Check (void)
virtual bool CheckType (void) const
CCommentsComments (void)
const CCommentsComments (void) const
void SetDataMember (CDataMember *dm)
const CDataMemberGetDataMember (void) const
void SetTag (CAsnBinaryDefs::TLongTag tag)
CAsnBinaryDefs::TLongTag GetTag (void) const
bool HasTag (void) const
void SetTagClass (CAsnBinaryDefs::ETagClass tclass)
CAsnBinaryDefs::ETagClass GetTagClass (void) const
void SetTagType (CAsnBinaryDefs::ETagType ttype)
CAsnBinaryDefs::ETagType GetTagType (void) const
CNcbiOstreamPrintASNTag (CNcbiOstream &out) const
void SetTypeStr (CClassTypeStrings *TypeStr) const
CClassTypeStringsGetTypeStr (void) const
bool IsPrimitive (void) const
bool IsStdType (void) const
bool IsReference (void) const
void SetIsAlias (bool value)
bool IsAlias (void) const
void SetIsTypeAlias (bool value) const
bool IsTypeAlias (void) const
virtual const char * GetDEFKeyword (void) const
const stringGetMemberName (void) const
void SetNamespaceName (const string &name)
const stringGetNamespaceName (void) const
void SetNsQualified (bool qualified)
ENsQualifiedMode IsNsQualified (void) const
void SetNillable (void)
bool IsNillable (void) const
void SetGlobalType (EGlobalType type)
EGlobalType GetGlobalType (void) const
void SetEmptyExternalName (bool set)
bool HasExternalName (void) const
string GetFullName (void) const
void SetRestrictions (const list< CMemberFacet > &c)
const list< CMemberFacet > & GetRestrictions (void) const

Private Attributes

const CCodeGeneratorm_Generator
string m_SectionName
string m_ClassName
string m_RequestType
string m_ReplyType
string m_RequestElement
string m_ReplyElement
const CDataTypem_RequestDataType
const CDataTypem_ReplyDataType
const CChoiceDataTypem_RequestChoiceType
const CChoiceDataTypem_ReplyChoiceType


class CClientPseudoTypeStrings

Additional Inherited Members

- Public Types inherited from CDataType
enum  { eNoExplicitTag = -1 }
enum  EGlobalType { eElement = 0, eType, eGroup }
typedef void * TObjectPtr
typedef list< const CReferenceDataType * > TReferences
- Static Public Member Functions inherited from CDataType
static string GetTagClassString (CAsnBinaryDefs::ETagClass tclass)
static string GetTagTypeString (CAsnBinaryDefs::ETagType ttype)
static void EnableDTDEntities (bool enable=true)
static bool DTDEntitiesEnabled (void)
static void SetEnforcedStdXml (bool set=true)
static bool GetEnforcedStdXml (void)
static void SetSourceDataSpec (EDataSpec spec)
static EDataSpec GetSourceDataSpec (void)
static string GetSourceDataSpecString (void)
static bool IsASNDataSpec (void)
static bool IsXMLDataSpec (void)
- Protected Member Functions inherited from CDataType
void x_SetMemberAndClassName (const string &memberName)
- Static Protected Member Functions inherited from CDataType
static bool x_IsSavedName (const string &name)
static void x_AddSavedName (const string &name)

Detailed Description

Definition at line 43 of file rpcgen.hpp.

Constructor & Destructor Documentation

CClientPseudoDataType::CClientPseudoDataType ( const CCodeGenerator generator,
const string section_name,
const string class_name 

Member Function Documentation

virtual bool CClientPseudoDataType::CheckValue ( const CDataValue ) const

Implements CDataType.

Definition at line 58 of file rpcgen.hpp.

virtual TObjectPtr CClientPseudoDataType::CreateDefault ( const CDataValue ) const

Implements CDataType.

Definition at line 59 of file rpcgen.hpp.

AutoPtr< CTypeStrings > CClientPseudoDataType::GenerateCode ( void  ) const

Reimplemented from CDataType.

Definition at line 169 of file rpcgen.cpp.

References CClientPseudoTypeStrings.

virtual void CClientPseudoDataType::PrintASN ( CNcbiOstream ,
) const

Implements CDataType.

Definition at line 54 of file rpcgen.hpp.

virtual void CClientPseudoDataType::PrintDTDElement ( CNcbiOstream ,
) const

Implements CDataType.

Definition at line 57 of file rpcgen.hpp.

virtual void CClientPseudoDataType::PrintJSONSchema ( CNcbiOstream ,
int  ,
list< string > &  ,
) const

Implements CDataType.

Definition at line 55 of file rpcgen.hpp.

virtual void CClientPseudoDataType::PrintXMLSchema ( CNcbiOstream ,
int  ,
) const

Implements CDataType.

Definition at line 56 of file rpcgen.hpp.

Friends And Related Function Documentation

friend class CClientPseudoTypeStrings

Definition at line 70 of file rpcgen.hpp.

Referenced by GenerateCode().

Member Data Documentation

string CClientPseudoDataType::m_ClassName
const CCodeGenerator& CClientPseudoDataType::m_Generator
const CChoiceDataType * CClientPseudoDataType::m_ReplyChoiceType
const CDataType * CClientPseudoDataType::m_ReplyDataType
string CClientPseudoDataType::m_ReplyElement
string CClientPseudoDataType::m_ReplyType

Definition at line 65 of file rpcgen.hpp.

Referenced by CClientPseudoDataType().

const CChoiceDataType* CClientPseudoDataType::m_RequestChoiceType
const CDataType* CClientPseudoDataType::m_RequestDataType
string CClientPseudoDataType::m_RequestElement
string CClientPseudoDataType::m_RequestType

Definition at line 65 of file rpcgen.hpp.

Referenced by CClientPseudoDataType().

string CClientPseudoDataType::m_SectionName

The documentation for this class was generated from the following files:
Modified on Fri Mar 23 12:29:35 2018 by rev. 546573