Beispiel #1
0
void ClassType::swap(ClassType& classType)
{
  ClassType clonable(classType);
  std::swap(_persistentClass, classType._persistentClass);
  std::swap(_isLoaded, classType._isLoaded);
  _root.swap(classType._root);
}
Beispiel #2
0
ClassType& ClassType::operator=(const ClassType& classType)
{
  ClassType clonable(classType);
  swap(clonable);
  return *this;
}
Beispiel #3
0
EntityRecord& EntityRecord::operator=(const EntityRecord& entity)
{
    EntityRecord clonable(entity);
    swap(clonable);
    return *this;
}
Beispiel #4
0
SIPFrom& SIPFrom::operator = (const SIPFrom& from)
{
  SIPFrom clonable(from);
  swap(clonable);
  return *this;
}