QaQuery

In this topic: Hide

 

Query Methods

QaQuery - Methods - Miscellaneous

Methods Description Return Type Input Parameters Remarks
Delete();   long     
DeviationType(eDeviationSmiType smiType, eDeviationCharacteristicType chrType);   eDeviationType     
DeviationType(eDeviationSmiType smiType, eDeviationCharacteristicType chrType, eDeviationType newType);   void     
GetDataSourceLabel();   BSTR       
IsLoaded();   boolean    
Load();   boolean    
Refresh();   long     
Update();   long     

QaQuery - Methods - Feature

Methods Description Return Type Input Parameters Remarks
AddFeatFilter(BSTR filter_, BSTR value_);   long     
AddFeatureToFeatListByKeys(BSTR featureKeyLabel_, BSTR routineKeyLabel_);   long     
AddFeatureToFeatureList(IQaFeature* feature_);   long     
ClearFeatFilters();   long     
CreateFeature(BSTR label, [optional] variant routineKeyLabel_);   IQaFeature*        
GetDataSourceFeatsFiltersByPos(short pos);   IQaQueryFilter*    
GetDataSourceFeatsFiltersCount();   long     
GetFeature(BSTR featureLabel);   IQaFeature*        
GetFeaturebyPos(long pos);   IQaFeature*        
GetFeatureCount();   long     
GetFeatureListCount();   long     
GetFeatureListFeatByPos(long pos_);   IQaFeature*        
MakeFeatureList();   long     
RemoveFeatFilter(BSTR label_, BSTR value_);    long     

QaQuery - Methods - Routine

Methods Description Return Type Input Parameters Remarks
AddRoutineToQuery(BSTR keyLabel_);   long     
ClearRoutFilters();   long     
CreateRoutine(BSTR label_, eHandedness hand_, IQaFilters* keyFilters_);   IQaRoutine*        
CreateSMIHole(BSTR label, double x, double y, double z, double i, double j, double k, double dia, [optional] variant routineKeyLabel_);   IQaFeature*        
CreateSMIPoint(BSTR label, double x, double y, double z, double i, double j, double k, [optional] variant routineKeyLabel_);   IQaFeature*        
CreateSMISlot(BSTR label, double x, double y, double z, double i, double j, double k, double len, double wid, [optional] variant routineKeyLabel_);   IQaFeature*        
GetRoutineByName(BSTR keyLabel_);   IQaRoutine*        
GetRoutineByPos(long pos);   IQaRoutine*        
GetRoutineCount();   long     
RemoveRoutFilter(BSTR label_, BSTR value_);    long     
RemoveRoutineFromQuery(BSTR keyLabel_);   long     

QaQuery - Methods - Sample

Methods Description Return Type Input Parameters Remarks
AddSampFilter(BSTR filter_, BSTR value_);   long     
AddSampleToSampList(IQaSample* sample_);   long     
AddSampleToSampListByKey(BSTR keyLabel_);   long     
ClearSampFilters();   long     
CreateSample(BSTR label, [optional] variant routineKeyLabel_);   IQaSample*         
GetDataSourceSampFiltersByPos(short pos);   IQaQueryFilter*    
GetDataSourceSampFiltersCount();   long     
GetSample(BSTR sampleLabel);   IQaSample*         
GetSamplebyPos(long pos);   IQaSample*         
GetSampleCount();   long     
GetSampleListCount();   long     
GetSampleListKeyLabelByPos(long pos_);   BSTR       
GetSampleListSampByPos(long pos_);   IQaSample*         
MakeSampleList();   long     
RemoveSampFilter(BSTR label_, BSTR value_);    long     
SetActiveSample(BSTR label_);   BOOL    

QaQuery - Methods - Subroutine

Methods Description Return Type Input Parameters Remarks
ActivateSubroutine(IQaSubroutine* pSubroutine_);   short    
GetSubroutineByName(BSTR keyLabel_);   IQaSubroutine*     
GetSubroutineByPos(long pos_);   IQaSubroutine*     
GetSubroutineCount();   long     
LoadSubroutineByFilter(BSTR filter_, BSTR value_);   long     
UnLoadSubroutines();   long     

Query Properties

QaQuery - Properties - Miscellaneous

Property

Description Return Type Input Parameters Remarks
DataSourceConnectString;   BSTR     
DataSourceDatabaseName;   BSTR     
DataSourcePassword;   BSTR     
DataSourceRoutineCode;   BSTR     
DataSourceRoutineLabel;   BSTR     
DataSourceUserName;   BSTR     
Label;   BSTR     
ManagedConnection;               BSTR     
OracleConnectString;   BSTR    Deprecated
OraclePassword;   BSTR    Deprecated
OracleRoutineLabel;   BSTR    Deprecated
OracleUserName;   BSTR    Deprecated
QueryType;   eQueryType                     
SQLServerConnectString;   BSTR     
SQLServerDatabaseName;   BSTR     
SQLServerPassword;   BSTR     
SQLServerRoutineLabel;   BSTR     
SQLServerUserName;   BSTR     
SubGroupSize;   long     

QaQuery - Properties - Feature

Property Description Return Type Input Parameters Remarks
DataSourceFeatSelectionsType;   eFeatureFilterSelectionType    
DataSourceFeatureFilterLabel;   BSTR     
DataSourceFeaturesFilter;   VARIANT     
DataSourceFeaturesFilterType;   eFeatureFilterType             
OracleFeaturesFilter;   VARIANT    Deprecated
OracleFeaturesFilterType;   eFeatureFilterType            Deprecated
SQLServerFeaturesFilter;   VARIANT     
SQLServerFeaturesFilterType;   eFeatureFilterType    

QaQuery - Properties - Sample

Property Description Return Type Input Parameters Remarks
DataSourceSampleFilterLabel;   BSTR     
DataSourceSamplesAfterDateTime;   DATE     
DataSourceSamplesBeforeDateTime;   DATE     
DataSourceSamplesBeforeDays;   long     
DataSourceSamplesBeforeHours;   long     
DataSourceSamplesBeforeMinutes;   long     
DataSourceSamplesBeforeTime;   DATE     
DataSourceSamplesCutOffDate;   DATE     
DataSourceSamplesCutOffDateType;   eSampleCutoffDateType          
DataSourceSamplesCutOffDays;   long     
DataSourceSamplesDuringBeginType;   eSampleDuringType              
DataSourceSamplesDuringMinusCount;   long     
DataSourceSamplesDuringMinusType;   eSampleDuringType              
DataSourceSamplesDuringPeriodCount;   long     
DataSourceSamplesDuringPeriodType;   eSampleDuringType              
DataSourceSamplesFilters;   VARIANT     
DataSourceSamplesFilterType;   eSampleFilterType              
DataSourceSamplesLast;   long     
DataSourceSamplesLoadLikeQuery;   BSTR     
DataSourceSamplesLoadOrder;   eSampleOrder                   
DataSourceSamplesOrder;   eSampleOrder                   
DataSourceSamplesQueryDate;      DATE     
DataSourceSamplesSkip;   long     
DataSourceSamplesSortOrder;   eSampleOrder                   
DataSourceSamplesType;   eSampleType                    
DataSourceSamplesUseQueryDate;   BOOL     
OracleSamplesAfterDateTime;   DATE    Deprecated
OracleSamplesBeforeDateTime;   DATE    Deprecated
OracleSamplesBeforeDays;   long    Deprecated
OracleSamplesBeforeHours;   long    Deprecated
OracleSamplesBeforeMinutes;   long    Deprecated
OracleSamplesBeforeTime;   DATE    Deprecated
OracleSamplesDuringBeginType;   eSampleDuringType             Deprecated
OracleSamplesDuringMinusCount;   long    Deprecated
OracleSamplesDuringMinusType;   eSampleDuringType             Deprecated
OracleSamplesDuringPeriodCount;   long    Deprecated
OracleSamplesDuringPeriodType;   eSampleDuringType             Deprecated
OracleSamplesFilters;   VARIANT    Deprecated
OracleSamplesFilterType;   eSampleFilterType             Deprecated
OracleSamplesLast;   long    Deprecated
OracleSamplesLoadOrder;   eSampleOrder                  Deprecated
OracleSamplesOrder;   eSampleOrder                  Deprecated
OracleSamplesSkip;   long    Deprecated
OracleSamplesSortOrder;   eSampleOrder                  Deprecated
OracleSamplesType;   eSampleType                   Deprecated
SQLServerSamplesAfterDateTime;   DATE     
SQLServerSamplesBeforeDateTime;   DATE     
SQLServerSamplesBeforeDays;   long     
SQLServerSamplesBeforeHours;   long     
SQLServerSamplesBeforeMinutes;   long     
SQLServerSamplesBeforeTime;   DATE     
SQLServerSamplesDuringBeginType;   eSampleDuringType              
SQLServerSamplesDuringMinusCount;   long     
SQLServerSamplesDuringMinusType;   eSampleDuringType              
SQLServerSamplesDuringPeriodCount;   long     
SQLServerSamplesDuringPeriodType;   eSampleDuringType              
SQLServerSamplesFilters;   VARIANT     
SQLServerSamplesFilterType;   eSampleFilterType              
SQLServerSamplesLast;   long     
SQLServerSamplesLoadOrder;   eSampleOrder                   
SQLServerSamplesOrder;   eSampleOrder                   
SQLServerSamplesSkip;   long     
SQLServerSamplesSortOrder;   eSampleOrder                   
SQLServerSamplesType;   eSampleType                    

QaQuery - Enumerators

QaQuery Deviation Characteristic Type - eDeviationCharacteristicType

Enumerator Description Help String Input Parameters Remarks
e_chrAngle,   Angle          
e_chrAzi,   Azimuth        
e_chrDia,   Diameter       
e_chrDist,   Distance       
e_chrFlush,   Flush          
e_chrGap,   Gap            
e_chrHor,   Horizon        
e_chrLen,   Length         
e_chrNor = 66,   Normal         
e_chrP,   Primary        
e_chrPol,   Polar          
e_chrPos = 0,   Position       
e_chrRadius,   Radius         
e_chrS,   Secondary      
e_chrSig = 36,   Significant    
e_chrT,   Tertiary       
e_chrTol   Toleranced     
e_chrWid,   Width          
e_chrX,   X              
e_chrY,   Y              
e_chrZ,   Z              

QaQuery Deviation SMI Type - eDeviationSmiType

Enumerator Description Help String Input Parameters Remarks
e_smiDist,   Distance     
e_smiFlush,   Flush        
e_smiGap   Gap          
e_smiHole,   Hole         
e_smiMid,   Midpoint     
e_smiNon = 0,   Non          
e_smiRef,   Reference    
e_smiSlot,   Slot         
e_smiSurf,   Surface      
e_smiVar,   Variance     

QaQuery Deviation Type - eDeviationType

Enumerator Description Help String Input Parameters Remarks
e_DevCar,           Car       
e_DevOffset         Offset    
e_DevVector  = 1,   Vector    

QaQuery Feature Filter Selection Types - eFeatureFilterSelectionType

Enumerator Description Help String Input Parameters Remarks
eAllFeaturesAsFiltered, Only Features that match at least 1 specifier      
eListOfFeatures, Only Features that match all specifiers            
eNoFeatures = -1, No filtering (All Features)                        
eQueryFeatures Only Features from active subroutine               
eSubroutineFeatures, Only Features selected from list                   

QaQuery Feature Filter Types - eFeatureFilterType

Enumerator Description Help String Input Parameters Remarks
eFeatureFilterAll Only Features that match all specifiers            
eFeatureFilterNone = 0, No filtering (All Features)                        
eFeatureFilterOne, Only Features that match at least 1 specifier      

QaQuery Routine Filter Types - eRoutineFilterType

Enumerator Description Help String Input Parameters Remarks
eRoutineFilterAll Only Routines that match all specifiers            
eRoutineFilterNone = 0, No filtering (All Routines)                        
eRoutineFilterOne, Only Routines that match at least 1 specifier      

QaQuery Sample Cutoff Date Type - eSampleCutoffDateType

Enumerator Description Help String Input Parameters Remarks
eAbsolute,   Absolute     
eNoCutoff,   No Cutoff    
eRelative   Relative     

QaQuery Sample During Types - eSampleDuringType

Enumerator Description Help String Input Parameters Remarks
eSampleDuringDay = 1,   Day      
eSampleDuringMonth,   Month    
eSampleDuringWeek,   Week     
eSampleDuringYear   Year     

QaQuery Sample Filter Types - eSampleFilterType

Enumerator Description Help String Input Parameters Remarks
eSampleFilterNone = 0, No filtering (All Samples)                        
eSampleFilterOne, Only Samples that match at least 1 specifier      
eSampleFilterAll Only Samples that match all specifiers            

QaQuery Sample Order Types - eSampleOrder

Enumerator Description Help String Input Parameters Remarks
eSampleOrderDate = 1,   Date           
eSampleOrderDesc,   Description    
eSampleOrderFilter   Filter         
eSampleOrderLabel,   Label          
eSampleOrderSeq,   Sequence       
eSampleOrderSer,   Serial         

QaQuery Sample Types - eSampleType

Enumerator Description Help String Input Parameters Remarks
eSampleAll,   All Sample               
eSampleDuring,   During Timeframe         
eSampleLast,   Last 'n' Sample          
eSampleList,   Only Selected Samples    
eSampleNone = 0,   No Sample                
eSamplePrevious,   Previous Timeframe       
eSampleQuery   Query Samples            
eSampleSince,   Since Date/Time          

QaQuery Types - eQueryType

Enumerator Description Help String Input Parameters Remarks
eQueryAccess,   MS Access                     
eQueryAccessODBC,   Access/ODBC   Deprecated
eQueryApi   API                           
eQueryODBC,   ODBC           Deprecated
eQueryOracle,   Oracle                        
eQueryPersOracle,   Personal Oracle   Deprecated
eQueryQuantum,   Quantum     Deprecated
eQuerySQLServer,   SQL Server                    
eQueryUndefined = 0,   Undefined