Skip to content

Commit f5fb1a7

Browse files
author
Max Robert
committed
change child device xml
1 parent e545210 commit f5fb1a7

File tree

3 files changed

+11
-58
lines changed

3 files changed

+11
-58
lines changed

redhawk/src/control/parser/internal/spd-pimpl.cpp

Lines changed: 5 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -932,40 +932,20 @@ post_values ()
932932
// childPropertyFile_pimpl
933933
//
934934

935-
void childPropertyFile_pimpl::
935+
void childSoftwarePackageFile_pimpl::
936936
pre ()
937937
{
938938
}
939939

940-
void childPropertyFile_pimpl::
940+
void childSoftwarePackageFile_pimpl::
941941
localfile (const ::std::string& localfile)
942942
{
943943
// TODO
944944
//
945945
}
946946

947-
void childPropertyFile_pimpl::
948-
post_childPropertyFile ()
949-
{
950-
}
951-
952-
// childDescriptorFile_pimpl
953-
//
954-
955-
void childDescriptorFile_pimpl::
956-
pre ()
957-
{
958-
}
959-
960-
void childDescriptorFile_pimpl::
961-
localfile (const ::std::string& localfile)
962-
{
963-
// TODO
964-
//
965-
}
966-
967-
void childDescriptorFile_pimpl::
968-
post_childDescriptorFile ()
947+
void childSoftwarePackageFile_pimpl::
948+
post_childSoftwarePackageFile ()
969949
{
970950
}
971951

@@ -978,12 +958,7 @@ pre ()
978958
}
979959

980960
void child_pimpl::
981-
childPropertyFile ()
982-
{
983-
}
984-
985-
void child_pimpl::
986-
childDescriptorFile ()
961+
childSoftwarePackageFile ()
987962
{
988963
}
989964

redhawk/src/control/parser/internal/spd-pimpl.h

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ namespace spd
600600
::std::vector<std::string> values;
601601
};
602602

603-
class childPropertyFile_pimpl: public virtual childPropertyFile_pskel
603+
class childSoftwarePackageFile_pimpl: public virtual childSoftwarePackageFile_pskel
604604
{
605605
public:
606606
virtual void
@@ -610,20 +610,7 @@ namespace spd
610610
localfile (const ::std::string&);
611611

612612
virtual void
613-
post_childPropertyFile ();
614-
};
615-
616-
class childDescriptorFile_pimpl: public virtual childDescriptorFile_pskel
617-
{
618-
public:
619-
virtual void
620-
pre ();
621-
622-
virtual void
623-
localfile (const ::std::string&);
624-
625-
virtual void
626-
post_childDescriptorFile ();
613+
post_childSoftwarePackageFile ();
627614
};
628615

629616
class child_pimpl: public virtual child_pskel
@@ -633,10 +620,7 @@ namespace spd
633620
pre ();
634621

635622
virtual void
636-
childPropertyFile ();
637-
638-
virtual void
639-
childDescriptorFile ();
623+
childSoftwarePackageFile ();
640624

641625
virtual void
642626
name (const ::std::string&);

redhawk/src/xml/xsd/spd.xsd

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ with this program. If not, see http://www.gnu.org/licenses/.
3535
<xs:element name="description" type="xs:string" minOccurs="0"/>
3636
<xs:element name="propertyfile" type="propertyFile" minOccurs="0" ecore:name="propertyFile"/>
3737
<xs:element name="descriptor" type="descriptor" minOccurs="0"/>
38-
<xs:element name="implementation" type="implementation" maxOccurs="unbounded"/>
38+
<xs:element name="implementation" type="implementation" minOccurs="0" maxOccurs="unbounded"/>
3939
<xs:element name="usesdevice" type="usesDevice" minOccurs="0" maxOccurs="unbounded" ecore:name="usesDevice"/>
4040
<xs:element name="child" type="child" minOccurs="0" maxOccurs="unbounded"/>
4141
</xs:sequence>
@@ -208,20 +208,14 @@ with this program. If not, see http://www.gnu.org/licenses/.
208208
<xs:element name="value" type="xs:string" maxOccurs="unbounded"/>
209209
</xs:sequence>
210210
</xs:complexType>
211-
<xs:complexType name="childPropertyFile">
212-
<xs:sequence>
213-
<xs:element name="localfile" type="localFile" ecore:name="localFile"/>
214-
</xs:sequence>
215-
</xs:complexType>
216-
<xs:complexType name="childDescriptorFile">
211+
<xs:complexType name="childSoftwarePackageFile">
217212
<xs:sequence>
218213
<xs:element name="localfile" type="localFile" ecore:name="localFile"/>
219214
</xs:sequence>
220215
</xs:complexType>
221216
<xs:complexType name="child">
222217
<xs:sequence>
223-
<xs:element name="childPropertyFile" type="childPropertyFile"/>
224-
<xs:element name="childDescriptorFile" type="childDescriptorFile"/>
218+
<xs:element name="childSoftwarePackageFile" type="childSoftwarePackageFile"/>
225219
</xs:sequence>
226220
<xs:attribute name="name" type="xs:string"/>
227221
</xs:complexType>

0 commit comments

Comments
 (0)