MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
GroupDescriptor.cs
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Threading.Tasks;
6
8{
12 [Serializable]
14 {
21 public GroupDescriptor(int nID, string strName, string strOwner)
22 : base(nID, strName, strOwner)
23 {
24 }
25
31 : this(g.ID, g.Name, g.Owner)
32 {
33 }
34
39 public override string ToString()
40 {
41 if (String.IsNullOrEmpty(Name))
42 return null;
43
44 return "Group " + Name;
45 }
46 }
47}
The BaseDescriptor is the base class for all other descriptors, where descriptors are used to describ...
string Owner
Get/set the owner of the item.
int ID
Get/set the database ID of the item.
string Name
Get/set the name of the item.
The GroupDescriptor class defines a group.
GroupDescriptor(GroupDescriptor g)
The GroupDescriptor constructor.
GroupDescriptor(int nID, string strName, string strOwner)
The GroupDescriptor constructor.
override string ToString()
Returns the string representation of the GroupDescriptor.
The descriptors namespace contains all descriptor used to describe various items stored within the da...