Logo Search packages:      
Sourcecode: gdata-sharp version File versions  Download package

gextphotos.cs

/* Copyright (c) 2006 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
*/

using System;
using System.Xml;
//using System.Collections;
//using System.Text;
using Google.GData.Client;
using Google.GData.Extensions;

namespace Google.GData.Photos {

    /// <summary>
    /// helper to instantiate all factories defined in here and attach 
    /// them to a base object
    /// </summary> 
00029     public static class GPhotoExtensions 
    {
        /// <summary>
        /// helper to add all picasa photo extensions to the base object
        /// </summary>
        /// <param name="baseObject"></param>
00035         public static void AddExtension(AtomBase baseObject) 
        {
            baseObject.AddExtension(new GPhotoAlbumId());
            baseObject.AddExtension(new GPhotoCommentCount());
            baseObject.AddExtension(new GPhotoCommentingEnabled());
            baseObject.AddExtension(new GPhotoId());
            baseObject.AddExtension(new GPhotoMaxPhotosPerAlbum());
            baseObject.AddExtension(new GPhotoNickName());
            baseObject.AddExtension(new GPhotoQuotaCurrent());
            baseObject.AddExtension(new GPhotoQuotaLimit());
            baseObject.AddExtension(new GPhotoThumbnail());
            baseObject.AddExtension(new GPhotoUser());
            baseObject.AddExtension(new GPhotoAccess());
            baseObject.AddExtension(new GPhotoBytesUsed());
            baseObject.AddExtension(new GPhotoLocation());
            baseObject.AddExtension(new GPhotoNumPhotos());
            baseObject.AddExtension(new GPhotoNumPhotosRemaining());
            baseObject.AddExtension(new GPhotoChecksum());
            baseObject.AddExtension(new GPhotoClient());
            baseObject.AddExtension(new GPhotoHeight());
            baseObject.AddExtension(new GPhotoPosition());
            baseObject.AddExtension(new GPhotoRotation());
            baseObject.AddExtension(new GPhotoSize());
            baseObject.AddExtension(new GPhotoTimestamp());
            baseObject.AddExtension(new GPhotoVersion());
            baseObject.AddExtension(new GPhotoWidth());
            baseObject.AddExtension(new GPhotoPhotoId());
            baseObject.AddExtension(new GPhotoWeight());
            baseObject.AddExtension(new GPhotoName());
        }
    }

    /// <summary>
    /// short table to hold the namespace and the prefix
    /// </summary>
00070     public static class GPhotoNameTable 
    {
        /// <summary>static string to specify the GeoRSS namespace supported</summary>
00073         public const string NSGPhotos = "http://schemas.google.com/photos/2007"; 
        /// <summary>static string to specify the Google Picasa prefix used</summary>
00075         public const string gPhotoPrefix = "gphoto"; 

        /// <summary>
        /// Comment Kind definition
        /// this is the term value for a category
        /// </summary>
00081         public const string CommentKind = NSGPhotos + "#comment";
        /// <summary>
        /// Photo Kind definition
        /// this is the term value for a category
        /// </summary>
00086         public const string PhotoKind = NSGPhotos + "#photo";
        /// <summary>
        /// Album Kind definition
        /// this is the term value for a category
        /// </summary>
00091         public const string AlbumKind = NSGPhotos + "#album";
        /// <summary>
        /// Tag Kind definition
        /// this is the term value for a category
        /// </summary>
00096         public const string TagKind = NSGPhotos + "#tag";

        /// <summary>
        /// id element string
        /// </summary>
00101         public const string Id = "id";

        /// <summary>
        /// album id element string
        /// </summary>
00106         public const string AlbumId = "albumid";

        /// <summary>
        /// comment count element string
        /// </summary>
00111         public const string CommentCount = "commentCount";

        /// <summary>
        /// commenting enabled element string
        /// </summary>
00116         public const string CommentingEnabled = "commentingEnabled";

        /// <summary>
        /// maximal photos per album element string
        /// </summary>
00121         public const string MaxPhotosPerAlbum = "maxPhotosPerAlbum";

        /// <summary>
        /// nickname element string
        /// </summary>
00126         public const string Nickname = "nickname";

        /// <summary>
        /// current Quota element string
        /// </summary>
00131         public const string QuotaCurrent = "quotacurrent";

        /// <summary>
        ///  Quota Limit element string
        /// </summary>
00136         public const string QuotaLimit = "quotalimit";

        /// <summary>
        /// Thumbnail element string
        /// </summary>
00141         public const string Thumbnail = "thumbnail";

        /// <summary>
        /// User element string
        /// </summary>
00146         public const string User = "user";

        /// <summary>
        /// access element string
        /// </summary>
00151         public const string Access = "access";

        /// <summary>
        /// bytesUsed element string
        /// </summary>
00156         public const string BytesUsed = "bytesUsed";

        /// <summary>
        /// location element string
        /// </summary>
00161         public const string Location = "location";

        /// <summary>
        /// name element string
        /// </summary>
00166         public const string Name = "name";

        /// <summary>
        /// numphotos element string
        /// </summary>
00171         public const string NumPhotos = "numphotos";

        /// <summary>
        /// numphotosremaining element string
        /// </summary>
00176         public const string NumPhotosRemaining = "numphotosremaining";

        /// <summary>
        /// numphotos element string
        /// </summary>
00181         public const string Checksum = "checksum";

        /// <summary>
        /// client element string
        /// </summary>
00186         public const string Client = "client";

        /// <summary>
        /// height element string
        /// </summary>
00191         public const string Height = "height";

        /// <summary>
        /// position element string
        /// </summary>
00196         public const string Position = "position";

        /// <summary>
        /// rotation element string
        /// </summary>
00201         public const string Rotation = "rotation";

        /// <summary>
        /// size element string
        /// </summary>
00206         public const string Size = "size";

        /// <summary>
        /// timestamp element string
        /// </summary>
00211         public const string Timestamp = "timestamp";

        /// <summary>
        /// version element string
        /// </summary>
00216         public const string Version = "version";

        /// <summary>
        /// photoid element string
        /// </summary>
00221         public const string Photoid = "photoid";

        /// <summary>
        /// width element string
        /// </summary>
00226         public const string Width = "width";

        /// <summary>
        /// weight element string
        /// </summary>
00231         public const string Weight = "weight";

    }


    /// <summary>
    /// id schema extension describing an ID.
    /// </summary>
00239     public class GPhotoId : SimpleElement
    {
        /// <summary>
        /// default constructor 
        /// </summary>
00244         public GPhotoId()
        : base(GPhotoNameTable.Id, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
        {}

        /// <summary>
        /// default constructor with an initial value as a string 
        /// </summary>
00251         public GPhotoId(string initValue)
        : base(GPhotoNameTable.Id, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
        {}
    }

    /// <summary>
    /// GPhotoAlbumId schema extension describing an albumid
    /// </summary>
00259     public class GPhotoAlbumId : SimpleElement
    {
        /// <summary>
        /// default constructor 
        /// </summary>
00264         public GPhotoAlbumId()
        : base(GPhotoNameTable.AlbumId, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
         {}
        /// <summary>
        /// default constructor with an initial value as a string 
        /// </summary>
00270         public GPhotoAlbumId(string initValue)
        : base(GPhotoNameTable.AlbumId, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
        {}
    }

    /// <summary>
    /// GPhotoCommentCount schema extension describing an commentCount
    /// </summary>
00278     public class GPhotoCommentCount : SimpleElement
    {
        /// <summary>
        /// default constructor 
        /// </summary>
00283         public GPhotoCommentCount()
        : base(GPhotoNameTable.CommentCount, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
         {}
        /// <summary>
        /// default constructor with an initial value as a string 
        /// </summary>
00289         public GPhotoCommentCount(string initValue)
        : base(GPhotoNameTable.CommentCount, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
        {}
    }

    /// <summary>
    /// GPhotoCommentingEnabled schema extension describing an commentingEnabled
    /// </summary>
00297     public class GPhotoCommentingEnabled : SimpleElement
    {
        /// <summary>
        /// default constructor 
        /// </summary>
00302         public GPhotoCommentingEnabled()
        : base(GPhotoNameTable.CommentingEnabled, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
         {}
        /// <summary>
        /// default constructor with an initial value as a string 
        /// </summary>
00308         public GPhotoCommentingEnabled(string initValue)
        : base(GPhotoNameTable.CommentingEnabled, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
        {}
    }

    /// <summary>
    /// GPhotoMaxPhotosPerAlbum schema extension describing an maxPhotosPerAlbum
    /// </summary>
00316     public class GPhotoMaxPhotosPerAlbum : SimpleElement
    {
        /// <summary>
        /// default constructor 
        /// </summary>
00321         public GPhotoMaxPhotosPerAlbum()
        : base(GPhotoNameTable.MaxPhotosPerAlbum, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
         {}
        /// <summary>
        /// default constructor with an initial value as a string 
        /// </summary>
00327         public GPhotoMaxPhotosPerAlbum(string initValue)
        : base(GPhotoNameTable.MaxPhotosPerAlbum, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
        {}
    }

    /// <summary>
    /// GPhotoNickName schema extension describing an nickname
    /// </summary>
00335     public class GPhotoNickName : SimpleElement
    {
        /// <summary>
        /// default constructor 
        /// </summary>
00340         public GPhotoNickName()
        : base(GPhotoNameTable.Nickname, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
         {}
        /// <summary>
        /// default constructor with an initial value as a string 
        /// </summary>
00346         public GPhotoNickName(string initValue)
        : base(GPhotoNameTable.Nickname, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
        {}
    }

    /// <summary>
    /// GPhotoQuotaCurrent schema extension describing an quotacurrent
    /// </summary>
00354     public class GPhotoQuotaCurrent : SimpleElement
    {
        /// <summary>
        /// default constructor 
        /// </summary>
00359         public GPhotoQuotaCurrent()
        : base(GPhotoNameTable.QuotaCurrent, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
         {}
        /// <summary>
        /// default constructor with an initial value as a string 
        /// </summary>
00365         public GPhotoQuotaCurrent(string initValue)
        : base(GPhotoNameTable.QuotaCurrent, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
        {}
    }

    /// <summary>
    /// GPhotoQuotaLimit schema extension describing an quotalimit
    /// </summary>
00373     public class GPhotoQuotaLimit : SimpleElement
    {
        /// <summary>
        /// default constructor 
        /// </summary>
00378         public GPhotoQuotaLimit()
        : base(GPhotoNameTable.QuotaLimit, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
         {}
        /// <summary>
        /// default constructor with an initial value as a string 
        /// </summary>
00384         public GPhotoQuotaLimit(string initValue)
        : base(GPhotoNameTable.QuotaLimit, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
        {}
    }

    /// <summary>
    /// GPhotoThumbnail schema extension describing an thumbnail
    /// </summary>
00392     public class GPhotoThumbnail : SimpleElement
    {
        /// <summary>
        /// default constructor 
        /// </summary>
00397         public GPhotoThumbnail()
        : base(GPhotoNameTable.Thumbnail, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
         {}
        /// <summary>
        /// default constructor with an initial value as a string 
        /// </summary>
00403         public GPhotoThumbnail(string initValue)
        : base(GPhotoNameTable.Thumbnail, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
        {}
    }

    /// <summary>
    /// GPhotoUser schema extension describing an user
    /// </summary>
00411     public class GPhotoUser : SimpleElement
    {
        /// <summary>
        /// default constructor 
        /// </summary>
00416         public GPhotoUser()
        : base(GPhotoNameTable.User, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
         {}
        /// <summary>
        /// default constructor with an initial value as a string 
        /// </summary>
00422         public GPhotoUser(string initValue)
        : base(GPhotoNameTable.User, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
        {}
    }

    /// <summary>
    /// GPhotoAccess schema extension describing an access
    /// </summary>
00430     public class GPhotoAccess : SimpleElement
    {
        /// <summary>
        /// default constructor 
        /// </summary>
00435         public GPhotoAccess()
        : base(GPhotoNameTable.Access, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
         {}
        /// <summary>
        /// default constructor with an initial value as a string 
        /// </summary>
00441         public GPhotoAccess(string initValue)
        : base(GPhotoNameTable.Access, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
        {}
    }

    /// <summary>
    /// GPhotoBytesUsed schema extension describing an bytesUsed
    /// </summary>
00449     public class GPhotoBytesUsed : SimpleElement
    {
        /// <summary>
        /// default constructor 
        /// </summary>
00454         public GPhotoBytesUsed()
        : base(GPhotoNameTable.BytesUsed, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
         {}
        /// <summary>
        /// default constructor with an initial value as a string 
        /// </summary>
00460         public GPhotoBytesUsed(string initValue)
        : base(GPhotoNameTable.BytesUsed, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
        {}
    }

    /// <summary>
    /// GPhotoLocation schema extension describing an location
    /// </summary>
00468     public class GPhotoLocation : SimpleElement
    {
        /// <summary>
        /// default constructor 
        /// </summary>
00473         public GPhotoLocation()
        : base(GPhotoNameTable.Location, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
         {}
        /// <summary>
        /// default constructor with an initial value as a string 
        /// </summary>
00479         public GPhotoLocation(string initValue)
        : base(GPhotoNameTable.Location, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
        {}
    }

    /// <summary>
    /// GPhotoName schema extension describing an name
    /// </summary>
00487     public class GPhotoName : SimpleElement
    {
        /// <summary>
        /// default constructor 
        /// </summary>
00492         public GPhotoName()
        : base(GPhotoNameTable.Name, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
         {}
        /// <summary>
        /// default constructor with an initial value as a string 
        /// </summary>
00498         public GPhotoName(string initValue)
        : base(GPhotoNameTable.Name, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
        {}
    }

    /// <summary>
    /// GPhotoNumPhotos schema extension describing an numphotos
    /// </summary>
00506     public class GPhotoNumPhotos : SimpleElement
    {
        /// <summary>
        /// default constructor 
        /// </summary>
00511         public GPhotoNumPhotos()
        : base(GPhotoNameTable.NumPhotos, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
         {}
        /// <summary>
        /// default constructor with an initial value as a string 
        /// </summary>
00517         public GPhotoNumPhotos(string initValue)
        : base(GPhotoNameTable.NumPhotos, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
        {}
    }

    /// <summary>
    /// GPhotoNumPhotosRemaining schema extension describing an numphotosremaining
    /// </summary>
00525     public class GPhotoNumPhotosRemaining : SimpleElement
    {
        /// <summary>
        /// default constructor 
        /// </summary>
00530         public GPhotoNumPhotosRemaining()
        : base(GPhotoNameTable.NumPhotosRemaining, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
         {}
        /// <summary>
        /// default constructor with an initial value as a string 
        /// </summary>
00536         public GPhotoNumPhotosRemaining(string initValue)
        : base(GPhotoNameTable.NumPhotosRemaining, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
        {}
    }

    /// <summary>
    /// GPhotoChecksum schema extension describing an checksum
    /// </summary>
00544     public class GPhotoChecksum : SimpleElement
    {
        /// <summary>
        /// default constructor 
        /// </summary>
00549         public GPhotoChecksum()
        : base(GPhotoNameTable.Checksum, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
         {}
        /// <summary>
        /// default constructor with an initial value as a string 
        /// </summary>
00555         public GPhotoChecksum(string initValue)
        : base(GPhotoNameTable.Checksum, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
        {}
    }

    /// <summary>
    /// GPhotoClient schema extension describing an client
    /// </summary>
00563     public class GPhotoClient : SimpleElement
    {
        /// <summary>
        /// default constructor 
        /// </summary>
00568         public GPhotoClient()
        : base(GPhotoNameTable.Client, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
         {}
        /// <summary>
        /// default constructor with an initial value as a string 
        /// </summary>
00574         public GPhotoClient(string initValue)
        : base(GPhotoNameTable.Client, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
        {}
    }

    /// <summary>
    /// GPhotoHeight schema extension describing an height
    /// </summary>
00582     public class GPhotoHeight : SimpleElement
    {
        /// <summary>
        /// default constructor 
        /// </summary>
00587         public GPhotoHeight()
        : base(GPhotoNameTable.Height, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
         {}
        /// <summary>
        /// default constructor with an initial value as a string 
        /// </summary>
00593         public GPhotoHeight(string initValue)
        : base(GPhotoNameTable.Height, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
        {}
    }

    /// <summary>
    /// GPhotoPosition schema extension describing an position
    /// </summary>
00601     public class GPhotoPosition : SimpleElement
    {
        /// <summary>
        /// default constructor 
        /// </summary>
00606         public GPhotoPosition()
        : base(GPhotoNameTable.Position, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
         {}
        /// <summary>
        /// default constructor with an initial value as a string 
        /// </summary>
00612         public GPhotoPosition(string initValue)
        : base(GPhotoNameTable.Position, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
        {}
    }

    /// <summary>
    /// GPhotoRotation schema extension describing an rotation
    /// </summary>
00620     public class GPhotoRotation : SimpleElement
    {
        /// <summary>
        /// default constructor 
        /// </summary>
00625         public GPhotoRotation()
        : base(GPhotoNameTable.Rotation, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
         {}
        /// <summary>
        /// default constructor with an initial value as a string 
        /// </summary>
00631         public GPhotoRotation(string initValue)
        : base(GPhotoNameTable.Rotation, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
        {}
    }

    /// <summary>
    /// GPhotoSize schema extension describing an size
    /// </summary>
00639     public class GPhotoSize : SimpleElement
    {
        /// <summary>
        /// default constructor 
        /// </summary>
00644         public GPhotoSize()
        : base(GPhotoNameTable.Size, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
         {}
        /// <summary>
        /// default constructor with an initial value as a string 
        /// </summary>
00650         public GPhotoSize(string initValue)
        : base(GPhotoNameTable.Size, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
        {}
    }

    /// <summary>
    /// GPhotoTimestamp schema extension describing an timestamp
    /// </summary>
00658     public class GPhotoTimestamp : SimpleElement
    {
        /// <summary>
        /// default constructor 
        /// </summary>
00663         public GPhotoTimestamp()
        : base(GPhotoNameTable.Timestamp, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
         {}
        /// <summary>
        /// default constructor with an initial value as a string 
        /// </summary>
00669         public GPhotoTimestamp(string initValue)
        : base(GPhotoNameTable.Timestamp, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
        {}
    }


    /// <summary>
    /// GPhotoVersion schema extension describing an version
    /// </summary>
00678     public class GPhotoVersion : SimpleElement
    {
        /// <summary>
        /// default constructor 
        /// </summary>
00683         public GPhotoVersion()
        : base(GPhotoNameTable.Version, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
         {}
        /// <summary>
        /// default constructor with an initial value as a string 
        /// </summary>
00689         public GPhotoVersion(string initValue)
        : base(GPhotoNameTable.Version, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
        {}
    }

    /// <summary>
    /// GPhotoPhotoId schema extension describing an photoid
    /// </summary>
00697     public class GPhotoPhotoId : SimpleElement
    {
        /// <summary>
        /// default constructor 
        /// </summary>
00702         public GPhotoPhotoId()
        : base(GPhotoNameTable.Photoid, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
         {}
        /// <summary>
        /// default constructor with an initial value as a string 
        /// </summary>
00708         public GPhotoPhotoId(string initValue)
        : base(GPhotoNameTable.Photoid, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
        {}
    }

    /// <summary>
    /// GPhotoWidth schema extension describing an width
    /// </summary>
00716     public class GPhotoWidth : SimpleElement
    {
        /// <summary>
        /// default constructor 
        /// </summary>
00721         public GPhotoWidth()
        : base(GPhotoNameTable.Width, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
         {}
        /// <summary>
        /// default constructor with an initial value as a string 
        /// </summary>
00727         public GPhotoWidth(string initValue)
        : base(GPhotoNameTable.Width, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
        {}
    }

    /// <summary>
    /// GPhotoWeight schema extension describing an weight
    /// </summary>
00735     public class GPhotoWeight : SimpleElement
    {
        /// <summary>
        /// default constructor 
        /// </summary>
00740         public GPhotoWeight()
        : base(GPhotoNameTable.Weight, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
         {}
        /// <summary>
        /// default constructor with an initial value as a string 
        /// </summary>
00746         public GPhotoWeight(string initValue)
        : base(GPhotoNameTable.Weight, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
        {}
    }
}

Generated by  Doxygen 1.6.0   Back to index