object.cc (12950:af1f0b5e8dfb) object.cc (12952:94fca7e8120b)
1/*
2 * Copyright 2018 Google, Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer;
8 * redistributions in binary form must reproduce the above copyright

--- 86 unchanged lines hidden (view full) ---

95 }
96
97 addObject(&allObjects, sc_obj);
98
99 _name = _basename;
100 sc_core::sc_object *sc_p = parent;
101 while (sc_p) {
102 _name = std::string(sc_p->basename()) + std::string(".") + _name;
1/*
2 * Copyright 2018 Google, Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer;
8 * redistributions in binary form must reproduce the above copyright

--- 86 unchanged lines hidden (view full) ---

95 }
96
97 addObject(&allObjects, sc_obj);
98
99 _name = _basename;
100 sc_core::sc_object *sc_p = parent;
101 while (sc_p) {
102 _name = std::string(sc_p->basename()) + std::string(".") + _name;
103 sc_p = get_parent_object();
103 sc_p = sc_p->get_parent_object();
104 }
105}
106
107Object::Object(sc_core::sc_object *sc_obj, const Object &arg) :
108 Object(sc_obj, arg._basename.c_str())
109{}
110
111Object &

--- 125 unchanged lines hidden ---
104 }
105}
106
107Object::Object(sc_core::sc_object *sc_obj, const Object &arg) :
108 Object(sc_obj, arg._basename.c_str())
109{}
110
111Object &

--- 125 unchanged lines hidden ---