206
206
LIB_ALIASES m_aliases; ///< List of alias object pointers associated with the
208
208
CMP_LIBRARY* m_library; ///< Library the component belongs to if any.
209
static int m_subpartIdSeparator; ///< the separator char between
210
static int m_subpartIdSeparator; ///< the separator char between
210
211
///< the subpart id and the reference
211
212
///< like U1A ( m_subpartIdSeparator = 0 ) or U1.A or U1-A
212
static int m_subpartFirstId; ///< the ascii char value to calculate the subpart symbol id
213
static int m_subpartFirstId; ///< the ascii char value to calculate the subpart symbol id
213
214
///< from the part number: only 'A', 'a' or '1' can be used,
214
215
///< other values have no sense.
216
217
void deleteAllFields();
660
661
// Accessors to sub ref parameters
661
662
static int GetSubpartIdSeparator() { return m_subpartIdSeparator; }
662
static void SetSubpartIdSeparator( int aSep ) { m_subpartIdSeparator = aSep; }
664
/** return a reference to m_subpartIdSeparator,
665
* only for read/save setting functions
667
static int* SubpartIdSeparatorPtr() { return &m_subpartIdSeparator; }
663
669
static int GetSubpartFirstId() { return m_subpartFirstId; }
664
static void SetSubpartFirstId( int aFirstId ) { m_subpartFirstId = aFirstId; }
671
/** return a reference to m_subpartFirstId, only for read/save setting functions
673
static int* SubpartFirstIdPtr() { return &m_subpartFirstId; }
675
/** Set the separator char between the subpart id and the reference
676
* 0 (no separator) or '.' , '-' and '_'
677
* and the ascii char value to calculate the subpart symbol id from the part number:
678
* 'A' or '1' only are allowed. (to print U1.A or U1.1)
679
* if this is a digit, a number is used as id symbol
680
* Note also if the subpart symbol is a digit, the separator cannot be null.
681
* @param aSep = the separator symbol (0 (no separator) or '.' , '-' and '_')
682
* @param aFirstId = the Id of the first part ('A' or '1')
684
static void SetSubpartIdNotation( int aSep, int aFirstId );
667
687
* Set or clear the alternate body style (DeMorgan) for the component.