Example #1
0
void XQType::serialize(::zorba::serialization::Archiver& ar)
{
  SERIALIZE_TYPEMANAGER(TypeManager, theManager);
  SERIALIZE_ENUM(TypeKind, theKind);
  SERIALIZE_ENUM(SequenceType::Quantifier, theQuantifier);
  ar & theIsBuiltin;
}
Example #2
0
void UserDefinedXQType::serialize(::zorba::serialization::Archiver& ar)
{
  serialize_baseclass(ar, (XQType*)this);
  ar & theQName;
  ar & theBaseType;
  SERIALIZE_ENUM(UDTKind, theUDTKind);
  SERIALIZE_ENUM(content_kind_t, theContentKind);
  ar & m_listItemType;
  ar & m_unionItemTypes;
}
Example #3
0
void TreatIterator::serialize(::zorba::serialization::Archiver& ar)
{
  serialize_baseclass(ar,
  (UnaryBaseIterator<TreatIterator, PlanIteratorState>*)this);

  ar & theTreatType;
  SERIALIZE_ENUM(SequenceType::Quantifier, theQuantifier);
  ar & theCheckPrime;
  SERIALIZE_ENUM(TreatErrorKind, theErrorKind);
  ar & theQName;
}
Example #4
0
void PromoteIterator::serialize(::zorba::serialization::Archiver& ar)
{
  serialize_baseclass(ar,
  (UnaryBaseIterator<PromoteIterator, PlanIteratorState>*)this);

  ar & thePromoteType;
  SERIALIZE_ENUM(SequenceType::Quantifier, theQuantifier);
  SERIALIZE_ENUM(PromoteErrorKind, theErrorKind);
  ar & theQName;

  theNsCtx.setStaticContext(theSctx);
}
Example #5
0
void ReplaceIterator::serialize(::zorba::serialization::Archiver& ar)
{
  serialize_baseclass(ar,
  (BinaryBaseIterator<ReplaceIterator, PlanIteratorState>*)this);

  SERIALIZE_ENUM(store::UpdateConsts::ReplaceType, theType);
  ar & theDoCopy;
}
Example #6
0
void NodeXQType::serialize(::zorba::serialization::Archiver& ar)
{
  serialize_baseclass(ar, (XQType*)this);
  SERIALIZE_ENUM(store::StoreConsts::NodeKind, theNodeKind);
  ar & theNodeName;
  ar & theContentType;
  ar & theNillable;
  ar & theIsSchemaTest;
}
Example #7
0
void ValueIC::serialize(::zorba::serialization::Archiver& ar)
{
  //ZORBA_SER_ERROR_DESC_OSS(ZCSE0009_CLASS_NOT_SERIALIZABLE, "ValueIC");

  ar & theSctx;
  ar & theName;
  SERIALIZE_ENUM(store::IC::ICKind, theICKind);
  ar & theCollectionName;
  ar & theFromCollectionName;
  ar & theToCollectionName;
  ar & thePlan;
  ar & theCcb;
}
Example #8
0
/***************************************************************************//**

********************************************************************************/
void WindowIterator::serialize(::zorba::serialization::Archiver& ar)
{
  serialize_baseclass(ar, (PlanIterator*)this);
  SERIALIZE_ENUM(WindowType, theWindowType);
  ar & theTupleIter;
  ar & theInputIter;
  ar & theTreatIter;
  ar & theVarName;
  ar & theVarRefs;
  ar & theStartClause;
  ar & theEndClause;
  ar & theLazyEval;

  ar & theMaxNeededHistory;
}
Example #9
0
void AnnotationInternal::serialize(::zorba::serialization::Archiver& ar)
{
  SERIALIZE_ENUM(AnnotationId, theId);
  ar & theQName;
  ar & theLiterals;
}
Example #10
0
void JSONXQType::serialize(::zorba::serialization::Archiver& ar)
{
  serialize_baseclass(ar, (XQType*)this);
  SERIALIZE_ENUM(store::StoreConsts::JSONItemKind, theJSONKind);
}
Example #11
0
void AtomicXQType::serialize(::zorba::serialization::Archiver& ar)
{
  serialize_baseclass(ar, (XQType*)this);
  SERIALIZE_ENUM(store::SchemaTypeCode, theAtomicCode);
}