Lines Matching refs:context

272 //	ExportContext& context) {
274 // context.beginElement(element);
275 // context.beginContent();
276 // context.writeString(value);
277 // context.endElement();
283 ExportContext& context) const {
286 context.reportError(
292 context.beginElement(_DORMANT_NODE_ELEMENT);
296 ExportContext& context) const {
298 context.writeAttr("key", m_nodeKey);
302 ExportContext& context) const {
304 context.beginContent();
308 context.beginElement(_NAME_ELEMENT);
309 context.beginContent();
310 context.writeString(m_dormantName);
311 context.endElement();
316 context.beginElement(_FLAVOR_ID_ELEMENT);
317 context.beginContent();
318 context.writeString(buffer);
319 context.endElement();
322 _write_node_kinds(m_kinds, context);
324 // _write_simple(_KIND_ELEMENT, "B_BUFFER_PRODUCER", context);
326 // _write_simple(_KIND_ELEMENT, "B_BUFFER_CONSUMER", context);
328 // _write_simple(_KIND_ELEMENT, "B_TIME_SOURCE", context);
330 // _write_simple(_KIND_ELEMENT, "B_CONTROLLABLE", context);
332 // _write_simple(_KIND_ELEMENT, "B_FILE_INTERFACE", context);
334 // _write_simple(_KIND_ELEMENT, "B_ENTITY_INTERFACE", context);
336 // _write_simple(_KIND_ELEMENT, "B_PHYSICAL_INPUT", context);
338 // _write_simple(_KIND_ELEMENT, "B_PHYSICAL_OUTPUT", context);
340 // _write_simple(_KIND_ELEMENT, "B_SYSTEM_MIXER", context);
344 _write_simple(_FLAG_ELEMENT, "NO_START_STOP", context);
346 _write_simple(_FLAG_ELEMENT, "NO_SEEK", context);
348 _write_simple(_FLAG_ELEMENT, "NO_PREROLL", context);
350 _write_simple(_FLAG_ELEMENT, "NO_STOP", context);
352 _write_simple(_FLAG_ELEMENT, "NO_ROSTER_WATCH", context);
354 _write_simple(_FLAG_ELEMENT, "NO_POSITION_REPORTING", context);
360 _write_simple(_RUN_MODE_ELEMENT, "B_OFFLINE", context);
363 _write_simple(_RUN_MODE_ELEMENT, "B_DECREASE_PRECISION", context);
366 _write_simple(_RUN_MODE_ELEMENT, "B_INCREASE_LATENCY", context);
369 _write_simple(_RUN_MODE_ELEMENT, "B_DROP_DATA", context);
372 _write_simple(_RUN_MODE_ELEMENT, "B_RECORDING", context);
375 _write_simple(_RECORDING_DELAY_ELEMENT, buffer.String(), context);
380 _write_simple(_RUN_MODE_ELEMENT, buffer.String(), context);
385 context.beginElement(_CYCLE_ELEMENT);
386 context.endElement();
393 _write_simple(_REF_ELEMENT, p.Path(), context);
398 ExportContext& context) const {
401 context.endElement();
412 // ImportContext& context) {
435 // context.reportWarning(err.String());
442 ImportContext& context) {
459 context.reportWarning(err.String());
466 ImportContext& context) {
481 context.reportWarning(err.String());
488 ImportContext& context) {
496 context.reportWarning(text.String());
504 ImportContext& context) { TOUCH(context); }
509 ImportContext& context) {
517 context.reportError(err.String());
524 ImportContext& context) { TOUCH(data); TOUCH(length); TOUCH(context); }
528 ImportContext& context) {
534 context.element() << "'\n";
535 context.reportError(err.String());
539 if(!strcmp(context.element(), _NAME_ELEMENT))
541 else if(!strcmp(context.element(), _KIND_ELEMENT))
542 _read_node_kind(m_kinds, obj->content.String(), context);
543 else if(!strcmp(context.element(), _FLAVOR_ID_ELEMENT))
545 else if(!strcmp(context.element(), _FLAG_ELEMENT))
546 _read_noderef_flag(m_flags, obj->content.String(), context);
547 else if(!strcmp(context.element(), _RUN_MODE_ELEMENT))
548 _read_run_mode(m_runMode, obj->content.String(), context);
549 else if(!strcmp(context.element(), _RECORDING_DELAY_ELEMENT))
551 else if(!strcmp(context.element(), _CYCLE_ELEMENT))
553 else if(!strcmp(context.element(), _REF_ELEMENT))
554 _read_entry(m_entry, obj->content.String(), context);
558 context.element() << "'\n";
559 context.reportError(err.String());
566 ImportContext& context) { TOUCH(context); } //nyi; +++++ final checks?