Remove unused functionality.
This commit is contained in:
parent
1a216f3703
commit
d374abc79b
|
@ -379,7 +379,7 @@ bool NETLIST_OBJECT::IsLabelBusMemberType() const
|
|||
/*
|
||||
* return the net name of the item
|
||||
*/
|
||||
wxString NETLIST_OBJECT::GetNetName( bool adoptTimestamp ) const
|
||||
wxString NETLIST_OBJECT::GetNetName() const
|
||||
{
|
||||
if( m_netNameCandidate == NULL )
|
||||
return wxEmptyString;
|
||||
|
@ -387,7 +387,7 @@ wxString NETLIST_OBJECT::GetNetName( bool adoptTimestamp ) const
|
|||
wxString netName;
|
||||
|
||||
if( m_netNameCandidate->m_Type == NETLIST_ITEM::PIN )
|
||||
return GetShortNetName( adoptTimestamp );
|
||||
return GetShortNetName();
|
||||
|
||||
if( !m_netNameCandidate->IsLabelGlobal() )
|
||||
{
|
||||
|
@ -405,7 +405,7 @@ wxString NETLIST_OBJECT::GetNetName( bool adoptTimestamp ) const
|
|||
* from the "best" label without any prefix.
|
||||
* 2 different nets can have the same short name
|
||||
*/
|
||||
wxString NETLIST_OBJECT::GetShortNetName( bool adoptTimestamp ) const
|
||||
wxString NETLIST_OBJECT::GetShortNetName() const
|
||||
{
|
||||
if( m_netNameCandidate == NULL )
|
||||
return wxEmptyString;
|
||||
|
@ -419,10 +419,6 @@ wxString NETLIST_OBJECT::GetShortNetName( bool adoptTimestamp ) const
|
|||
{
|
||||
netName = wxT("Net-(");
|
||||
netName << link->GetRef( &m_netNameCandidate->m_SheetPath );
|
||||
|
||||
if( adoptTimestamp && netName.Last() == '?' )
|
||||
netName << link->GetTimeStamp();
|
||||
|
||||
netName << wxT("-Pad") << m_netNameCandidate->m_PinNum << wxT(")");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -242,20 +242,17 @@ public:
|
|||
|
||||
/**
|
||||
* Function GetNetName
|
||||
* @param adoptTimestamp if annotation is not done (i.e. GetRef returns something with an ? at the end)
|
||||
* @return the full net name of the item, i.e. the net name
|
||||
* from the "best" label, prefixed by the sheet path
|
||||
* @return the full net name of the item, i.e. the net name from the "best" label,
|
||||
* prefixed by the sheet path
|
||||
*/
|
||||
wxString GetNetName( bool adoptTimestamp = false ) const;
|
||||
wxString GetNetName() const;
|
||||
|
||||
/**
|
||||
* Function GetShortNetName
|
||||
* @param adoptTimestamp if annotation is not done (i.e. GetRef returns something with an ? at the end)
|
||||
* @return the short net name of the item i.e. the net name
|
||||
* from the "best" label without any prefix.
|
||||
* 2 different nets can have the same short name
|
||||
* @return the short net name of the item i.e. the net name from the "best" label
|
||||
* without any prefix. 2 different nets can have the same short name
|
||||
*/
|
||||
wxString GetShortNetName( bool adoptTimestamp = false ) const;
|
||||
wxString GetShortNetName() const;
|
||||
|
||||
/**
|
||||
* Function ConvertBusToNetListItems
|
||||
|
|
Loading…
Reference in New Issue