Kaydet (Commit) e02d6340 authored tarafından Noel Grandin's avatar Noel Grandin

remove unused SvName from .SDI files

Change-Id: I5aa9d2e3798ebb9da5bb1283000d744e9a68de25
üst 8763140b
...@@ -66,7 +66,6 @@ struct SvGlobalHashNames ...@@ -66,7 +66,6 @@ struct SvGlobalHashNames
SvStringHashEntryRef MM_HelpFile; SvStringHashEntryRef MM_HelpFile;
SvStringHashEntryRef MM_import; SvStringHashEntryRef MM_import;
SvStringHashEntryRef MM_SlotIdFile; SvStringHashEntryRef MM_SlotIdFile;
SvStringHashEntryRef MM_SvName;
SvStringHashEntryRef MM_ItemName; SvStringHashEntryRef MM_ItemName;
SvStringHashEntryRef MM_include; SvStringHashEntryRef MM_include;
SvStringHashEntryRef MM_ExecMethod; SvStringHashEntryRef MM_ExecMethod;
...@@ -151,7 +150,6 @@ HASH_INLINE(Default) ...@@ -151,7 +150,6 @@ HASH_INLINE(Default)
HASH_INLINE(HelpFile) HASH_INLINE(HelpFile)
HASH_INLINE(import) HASH_INLINE(import)
HASH_INLINE(SlotIdFile) HASH_INLINE(SlotIdFile)
HASH_INLINE(SvName)
HASH_INLINE(include) HASH_INLINE(include)
HASH_INLINE(ExecMethod) HASH_INLINE(ExecMethod)
HASH_INLINE(StateMethod) HASH_INLINE(StateMethod)
......
...@@ -82,7 +82,6 @@ class SvMetaType : public SvMetaExtern ...@@ -82,7 +82,6 @@ class SvMetaType : public SvMetaExtern
SvBOOL aIn; // input parameter SvBOOL aIn; // input parameter
SvBOOL aOut; // return parameter SvBOOL aOut; // return parameter
Svint aCall0, aCall1; Svint aCall0, aCall1;
SvIdentifier aSvName;
SvIdentifier aCName; SvIdentifier aCName;
SvIdentifier aBasicPostfix; SvIdentifier aBasicPostfix;
SvIdentifier aBasicName; SvIdentifier aBasicName;
...@@ -97,7 +96,6 @@ class SvMetaType : public SvMetaExtern ...@@ -97,7 +96,6 @@ class SvMetaType : public SvMetaExtern
protected: protected:
bool ReadNamesSvIdl( SvIdlDataBase & rBase, bool ReadNamesSvIdl( SvIdlDataBase & rBase,
SvTokenStream & rInStm ); SvTokenStream & rInStm );
virtual void ReadAttributesSvIdl( SvIdlDataBase &, SvTokenStream & rInStm ) override;
virtual void ReadContextSvIdl( SvIdlDataBase &, SvTokenStream & rInStm ) override; virtual void ReadContextSvIdl( SvIdlDataBase &, SvTokenStream & rInStm ) override;
bool ReadHeaderSvIdl( SvIdlDataBase &, SvTokenStream & rInStm ); bool ReadHeaderSvIdl( SvIdlDataBase &, SvTokenStream & rInStm );
...@@ -141,7 +139,6 @@ public: ...@@ -141,7 +139,6 @@ public:
{ aBasicName.setString(rName); } { aBasicName.setString(rName); }
const OString& GetBasicName() const; const OString& GetBasicName() const;
const OString& GetSvName() const;
const OString& GetCName() const; const OString& GetCName() const;
char GetParserChar() const { return cParserChar; } char GetParserChar() const { return cParserChar; }
......
...@@ -332,14 +332,6 @@ int SvMetaType::GetCall1() const ...@@ -332,14 +332,6 @@ int SvMetaType::GetCall1() const
return static_cast<SvMetaType *>(GetRef())->GetCall1(); return static_cast<SvMetaType *>(GetRef())->GetCall1();
} }
const OString& SvMetaType::GetSvName() const
{
if( aSvName.IsSet() || !GetRef() )
return aSvName.getString();
else
return static_cast<SvMetaType *>(GetRef())->GetSvName();
}
const OString& SvMetaType::GetCName() const const OString& SvMetaType::GetCName() const
{ {
if( aCName.IsSet() || !GetRef() ) if( aCName.IsSet() || !GetRef() )
...@@ -350,7 +342,6 @@ const OString& SvMetaType::GetCName() const ...@@ -350,7 +342,6 @@ const OString& SvMetaType::GetCName() const
bool SvMetaType::SetName( const OString& rName, SvIdlDataBase * pBase ) bool SvMetaType::SetName( const OString& rName, SvIdlDataBase * pBase )
{ {
aSvName.setString(rName);
aCName.setString(rName); aCName.setString(rName);
return SvMetaReference::SetName( rName, pBase ); return SvMetaReference::SetName( rName, pBase );
} }
...@@ -447,13 +438,6 @@ bool SvMetaType::ReadNamesSvIdl( SvIdlDataBase & rBase, ...@@ -447,13 +438,6 @@ bool SvMetaType::ReadNamesSvIdl( SvIdlDataBase & rBase,
return bOk; return bOk;
} }
void SvMetaType::ReadAttributesSvIdl( SvIdlDataBase & rBase,
SvTokenStream & rInStm )
{
SvMetaExtern::ReadAttributesSvIdl( rBase, rInStm );
aSvName.ReadSvIdl( SvHash_SvName(), rInStm );
}
void SvMetaType::ReadContextSvIdl( SvIdlDataBase & rBase, void SvMetaType::ReadContextSvIdl( SvIdlDataBase & rBase,
SvTokenStream & rInStm ) SvTokenStream & rInStm )
{ {
......
...@@ -93,7 +93,6 @@ SvGlobalHashNames::SvGlobalHashNames() ...@@ -93,7 +93,6 @@ SvGlobalHashNames::SvGlobalHashNames()
A_ENTRY(HelpFile) A_ENTRY(HelpFile)
A_ENTRY(import) A_ENTRY(import)
A_ENTRY(SlotIdFile) A_ENTRY(SlotIdFile)
A_ENTRY(SvName)
A_ENTRY(ItemName) A_ENTRY(ItemName)
A_ENTRY(include) A_ENTRY(include)
A_ENTRY(ExecMethod) A_ENTRY(ExecMethod)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment