* ./vlsisapd/src/openChams:

- Bug: DO NOT USES REFEENCES IN OBJECT ATTRIBUTES STRING:
          const std::string& _name;
        Cannot believe I've done that. Instead:
          std::string  _name;
This commit is contained in:
Jean-Paul Chaput 2012-11-17 15:01:23 +00:00
parent 0a4297e84d
commit 47dc198d9f
5 changed files with 15 additions and 15 deletions

View File

@ -117,9 +117,9 @@ namespace OpenChams {
void check_lowercase ( std::string& str, std::vector<std::string>& compares, std::string message ); void check_lowercase ( std::string& str, std::vector<std::string>& compares, std::string message );
private: private:
const std::string& _name; std::string _name;
std::string _absolutePath; std::string _absolutePath;
const std::string& _techno; std::string _techno;
Parameters _params; Parameters _params;
Netlist* _netlist; Netlist* _netlist;
Schematic* _schematic; Schematic* _schematic;

View File

@ -48,7 +48,7 @@ namespace OpenChams {
Transistor* addTransistor (const std::string&); Transistor* addTransistor (const std::string&);
private: private:
const std::string _mosType; std::string _mosType;
bool _sourceBulkConnected; bool _sourceBulkConnected;
std::vector<Transistor*> _trans; std::vector<Transistor*> _trans;
}; };

View File

@ -36,8 +36,8 @@ namespace OpenChams {
inline const std::string& getInstanceName () const; inline const std::string& getInstanceName () const;
inline const std::string& getConnectorName() const; inline const std::string& getConnectorName() const;
private: private:
const std::string& _instanceName; std::string _instanceName;
const std::string& _connectorName; std::string _connectorName;
}; };
public: public:
@ -58,8 +58,8 @@ namespace OpenChams {
inline const std::vector<Wire*>& getWires (); inline const std::vector<Wire*>& getWires ();
private: private:
const std::string& _name; std::string _name;
const std::string& _typeName; std::string _typeName;
bool _isExternal; bool _isExternal;
Netlist* _netlist; Netlist* _netlist;
std::vector<Net::Connection*> _connections; // <instanceName, connectorName> std::vector<Net::Connection*> _connections; // <instanceName, connectorName>