[installation] Change to nightly
This commit is contained in:
@ -92,28 +92,28 @@ class SC_SYSTEM_CORE_API Network : public PublicObject {
|
||||
|
||||
public:
|
||||
//! Copy constructor
|
||||
Network(const Network& other);
|
||||
Network(const Network &other);
|
||||
|
||||
//! Constructor with publicID
|
||||
Network(const std::string& publicID);
|
||||
|
||||
//! Destructor
|
||||
~Network() override;
|
||||
|
||||
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
// Creators
|
||||
// ------------------------------------------------------------------
|
||||
public:
|
||||
static Network* Create();
|
||||
static Network* Create(const std::string& publicID);
|
||||
static Network *Create();
|
||||
static Network *Create(const std::string& publicID);
|
||||
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
// Lookup
|
||||
// ------------------------------------------------------------------
|
||||
public:
|
||||
static Network* Find(const std::string& publicID);
|
||||
static Network *Find(const std::string& publicID);
|
||||
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
@ -122,14 +122,14 @@ class SC_SYSTEM_CORE_API Network : public PublicObject {
|
||||
public:
|
||||
//! Copies the metadata of other to this
|
||||
//! No changes regarding child objects are made
|
||||
Network& operator=(const Network& other);
|
||||
Network &operator=(const Network &other);
|
||||
//! Checks for equality of two objects. Child objects
|
||||
//! are not part of the check.
|
||||
bool operator==(const Network& other) const;
|
||||
bool operator!=(const Network& other) const;
|
||||
bool operator==(const Network &other) const;
|
||||
bool operator!=(const Network &other) const;
|
||||
|
||||
//! Wrapper that calls operator==
|
||||
bool equal(const Network& other) const;
|
||||
bool equal(const Network &other) const;
|
||||
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
@ -193,12 +193,12 @@ class SC_SYSTEM_CORE_API Network : public PublicObject {
|
||||
// ------------------------------------------------------------------
|
||||
public:
|
||||
//! Returns the object's index
|
||||
const NetworkIndex& index() const;
|
||||
const NetworkIndex &index() const;
|
||||
|
||||
//! Checks two objects for equality regarding their index
|
||||
bool equalIndex(const Network* lhs) const;
|
||||
bool equalIndex(const Network *lhs) const;
|
||||
|
||||
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
// Public interface
|
||||
// ------------------------------------------------------------------
|
||||
@ -211,8 +211,8 @@ class SC_SYSTEM_CORE_API Network : public PublicObject {
|
||||
* because it already exists in the list
|
||||
* or it already has another parent
|
||||
*/
|
||||
bool add(Comment* obj);
|
||||
bool add(Station* obj);
|
||||
bool add(Comment *obj);
|
||||
bool add(Station *obj);
|
||||
|
||||
/**
|
||||
* Removes an object.
|
||||
@ -221,8 +221,8 @@ class SC_SYSTEM_CORE_API Network : public PublicObject {
|
||||
* @return false The object has not been removed
|
||||
* because it does not exist in the list
|
||||
*/
|
||||
bool remove(Comment* obj);
|
||||
bool remove(Station* obj);
|
||||
bool remove(Comment *obj);
|
||||
bool remove(Station *obj);
|
||||
|
||||
/**
|
||||
* Removes an object of a particular class.
|
||||
@ -231,9 +231,9 @@ class SC_SYSTEM_CORE_API Network : public PublicObject {
|
||||
* @return false The index is out of bounds
|
||||
*/
|
||||
bool removeComment(size_t i);
|
||||
bool removeComment(const CommentIndex& i);
|
||||
bool removeComment(const CommentIndex &i);
|
||||
bool removeStation(size_t i);
|
||||
bool removeStation(const StationIndex& i);
|
||||
bool removeStation(const StationIndex &i);
|
||||
|
||||
//! Retrieve the number of objects of a particular class
|
||||
size_t commentCount() const;
|
||||
@ -241,16 +241,16 @@ class SC_SYSTEM_CORE_API Network : public PublicObject {
|
||||
|
||||
//! Index access
|
||||
//! @return The object at index i
|
||||
Comment* comment(size_t i) const;
|
||||
Comment* comment(const CommentIndex& i) const;
|
||||
Comment *comment(size_t i) const;
|
||||
Comment *comment(const CommentIndex &i) const;
|
||||
|
||||
Station* station(size_t i) const;
|
||||
Station* station(const StationIndex& i) const;
|
||||
Station *station(size_t i) const;
|
||||
Station *station(const StationIndex &i) const;
|
||||
|
||||
//! Find an object by its unique attribute(s)
|
||||
Station* findStation(const std::string& publicID) const;
|
||||
Station *findStation(const std::string& publicID) const;
|
||||
|
||||
Inventory* inventory() const;
|
||||
Inventory *inventory() const;
|
||||
|
||||
//! Implement Object interface
|
||||
bool assign(Object *other) override;
|
||||
|
||||
Reference in New Issue
Block a user