documentation more complete

This commit is contained in:
Marty Kraimer
2010-12-13 13:12:43 -05:00
parent ca968cacd0
commit 188c256dda
15 changed files with 1286 additions and 828 deletions

View File

@@ -19,6 +19,10 @@ bool PVControl::attach(PVField *pvField)
{
PVStructure *pvStructure = 0;
if(pvField->getField()->getFieldName().compare("control")!=0) {
if(pvField->getField()->getFieldName().compare("value")!=0) {
pvField->message(noControlFound,errorMessage);
return false;
}
PVStructure *pvParent = pvField->getParent();
if(pvParent==0) {
pvField->message(noControlFound,errorMessage);