My Project  debian-1:4.1.1-p2+ds-4build1
Public Member Functions | Data Fields
Voice Class Reference

#include <fevoices.h>

Public Member Functions

 Voice ()
 
feBufferTypes Typ ()
 
void Next ()
 

Data Fields

Voicenext
 
Voiceprev
 
char * filename
 
procinfopi
 
void * oldb
 
FILE * files
 
char * buffer
 
long fptr
 
long ftellptr
 
int start_lineno
 
int curr_lineno
 
feBufferInputs sw
 
char ifsw
 
feBufferTypes typ
 

Detailed Description

Definition at line 57 of file fevoices.h.

Constructor & Destructor Documentation

◆ Voice()

Voice::Voice ( )
inline

Definition at line 85 of file fevoices.h.

86 { memset(this,0,sizeof(*this));}

Member Function Documentation

◆ Next()

void Voice::Next ( )

Definition at line 83 of file fevoices.cc.

86 {
87  Voice *p=new Voice;
88  // OB: ???
89  // Hmm... when Singular is used as batch file
90  // then this voice is never freed
92  if (currentVoice != NULL)
93  {
96  }
97  p->prev=currentVoice;

◆ Typ()

feBufferTypes Voice::Typ ( )

Definition at line 100 of file fevoices.cc.

103 {
104  switch(typ)
105  {
106  case BT_proc:
107  case BT_example:
108  case BT_file:
109  return typ;
110  default:
111  if (prev==NULL) return (feBufferTypes)0;
112  return prev->Typ();

Field Documentation

◆ buffer

char* Voice::buffer

Definition at line 68 of file fevoices.h.

◆ curr_lineno

int Voice::curr_lineno

Definition at line 74 of file fevoices.h.

◆ filename

char* Voice::filename

Definition at line 62 of file fevoices.h.

◆ files

FILE* Voice::files

Definition at line 66 of file fevoices.h.

◆ fptr

long Voice::fptr

Definition at line 69 of file fevoices.h.

◆ ftellptr

long Voice::ftellptr

Definition at line 70 of file fevoices.h.

◆ ifsw

char Voice::ifsw

Definition at line 78 of file fevoices.h.

◆ next

Voice* Voice::next

Definition at line 60 of file fevoices.h.

◆ oldb

void* Voice::oldb

Definition at line 64 of file fevoices.h.

◆ pi

procinfo* Voice::pi

Definition at line 63 of file fevoices.h.

◆ prev

Voice* Voice::prev

Definition at line 61 of file fevoices.h.

◆ start_lineno

int Voice::start_lineno

Definition at line 73 of file fevoices.h.

◆ sw

feBufferInputs Voice::sw

Definition at line 75 of file fevoices.h.

◆ typ

feBufferTypes Voice::typ

Definition at line 83 of file fevoices.h.


The documentation for this class was generated from the following files:
Voice::Typ
feBufferTypes Typ()
Definition: fevoices.cc:100
BT_proc
Definition: fevoices.h:20
Voice::curr_lineno
int curr_lineno
Definition: fevoices.h:74
BT_file
Definition: fevoices.h:22
yylineno
int yylineno
Definition: febase.cc:39
BT_example
Definition: fevoices.h:21
Voice::typ
feBufferTypes typ
Definition: fevoices.h:83
currentVoice
Voice * currentVoice
Definition: fevoices.cc:46
Voice::next
Voice * next
Definition: fevoices.h:60
Voice::prev
Voice * prev
Definition: fevoices.h:61
feBufferTypes
feBufferTypes
Definition: fevoices.h:15
omMarkAsStaticAddr
void omMarkAsStaticAddr(void *addr)
Voice::Voice
Voice()
Definition: fevoices.h:85
Voice
Definition: fevoices.h:57
NULL
#define NULL
Definition: omList.c:9
p
int p
Definition: cfModGcd.cc:4019