Added array method used to push strings from list.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6536 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
5de1480c97
commit
6cb563308f
|
@ -2840,6 +2840,15 @@ public:
|
|||
*/
|
||||
void push(ExpOperation* item);
|
||||
|
||||
/**
|
||||
* Add string items at the end of the array
|
||||
* @param lst List with items to push
|
||||
*/
|
||||
inline void push(const ObjList& lst) {
|
||||
for (const ObjList* o = lst.skipNull(); o; o = o->skipNext())
|
||||
push(new ExpOperation(o->get()->toString()));
|
||||
}
|
||||
|
||||
/**
|
||||
* Deep copy method
|
||||
* @param mtx Pointer to the mutex that serializes the copied array
|
||||
|
|
Loading…
Reference in New Issue